Touch-Bar-Lemmings icon indicating copy to clipboard operation
Touch-Bar-Lemmings copied to clipboard

Installer?

Open mark248am opened this issue 8 years ago • 7 comments

Will you create an installer for Lemmings?

thanks

mark248am avatar Jan 21 '17 21:01 mark248am

That would be cool ^-^

rip3rs avatar Jan 21 '17 21:01 rip3rs

Or a readme on how to compile...

RoySegall avatar Jan 22 '17 08:01 RoySegall

@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.

robjtede avatar Feb 17 '17 12:02 robjtede

@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

twheys avatar Mar 24 '17 14:03 twheys

@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!

mcohrs avatar Apr 05 '17 00:04 mcohrs

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 avatar Sep 01 '17 23:09 theschles

And then when you see this on your primary LCD:

image

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

theschles avatar Sep 01 '17 23:09 theschles