Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer? #7

Open
mark248am opened this issue Jan 21, 2017 · 7 comments
Open

Installer? #7

mark248am opened this issue Jan 21, 2017 · 7 comments

Comments

@mark248am
Copy link

Will you create an installer for Lemmings?

thanks

@rip3rs
Copy link

rip3rs commented Jan 21, 2017

That would be cool ^-^

@RoySegall
Copy link

Or a readme on how to compile...

@robjtede
Copy link

@RoySegall compile in xcode
You need to disable code signing in "build settings" and edit the line that has 10.12.1 on it and change to 10.12.2.

@twheys
Copy link

twheys commented Mar 24, 2017

@robjtede thanks for the tip. Here's how I managed to build this project after doing a find replace for the xcode version:

git clone https://github.com/erikolsson/Touch-Bar-Lemmings.git
cd Touch-Bar-Lemmings/
xcodebuild clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO

@mcohrs
Copy link

mcohrs commented Apr 5, 2017

@twheys Thanks heaps!

It was continuously crashing when trying to build from Xcode GUI- even though the build succeeded.

Compiling via command line did the trick!

@theschles
Copy link

theschles commented Sep 1, 2017

Hey everybody, here's the code change required:

diff --git a/TouchLemmings/LemmingsScene.swift b/TouchLemmings/LemmingsScene.swift
index 4092419..8395635 100644
--- a/TouchLemmings/LemmingsScene.swift
+++ b/TouchLemmings/LemmingsScene.swift
@@ -39,7 +39,7 @@ class LemmmingsScene: SKScene, SKPhysicsContactDelegate {
   }

   override func touchesBegan(with event: NSEvent) {
-    if #available(OSX 10.12.1, *) {
+    if #available(OSX 10.12.2, *) {
       if let touch = event.allTouches().first {
         let location = CGPoint(x: touch.location(in: self.view).x, y: 14)

@theschles
Copy link

theschles commented Sep 1, 2017

And then when you see this on your primary LCD:

image

Touch the empty space in the touch bar...and smile :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants