diff --git a/.gitignore b/.gitignore index 2c7ff0f..6285bee 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,6 @@ src/16inst_c.h src/8inst_c.h src/size_c.h +gsplus +gsportx +gsport diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e873aa7..a4e5a9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,10 +53,11 @@ package-osx: - osx stage: package script: - - gzip < gsplus > gsplus-osx-latest.gz + - chmod +x make_dist_mac.sh + - ./make_dist_mac.sh artifacts: paths: - - gsplus-osx-latest.gz + - gsplus-osx.tar.gz diff --git a/assets/Info.plist b/assets/Info.plist new file mode 100644 index 0000000..9a2ed8a --- /dev/null +++ b/assets/Info.plist @@ -0,0 +1,33 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + gsplus + CFBundleGetInfoString + 0.12s, Copyright 2016 Dagen Brock + CFBundleIconFile + gsp-icons.icns + CFBundleIdentifier + com.dagenbrock.gsplus + CFBundleDocumentTypes + + + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleShortVersionString + 0.12s + CFBundleSignature + gsplus + CFBundleVersion + 0.12s + NSHumanReadableCopyright + Copyright 2016 Dagen Brock + LSMinimumSystemVersion + 10.3 + + diff --git a/assets/gsp-icons.icns b/assets/gsp-icons.icns new file mode 100644 index 0000000..b7e2c2c Binary files /dev/null and b/assets/gsp-icons.icns differ diff --git a/lib/arch/mac/setfileicon b/lib/arch/mac/setfileicon old mode 100755 new mode 100644 diff --git a/make_dist_mac.sh b/make_dist_mac.sh new file mode 100755 index 0000000..ddf2f6d --- /dev/null +++ b/make_dist_mac.sh @@ -0,0 +1,10 @@ +DDIR=gsplus-osx/GSplus.app +ADIR=assets +mkdir -p $DDIR/Contents/MacOS +mkdir -p $DDIR/Contents/Resources + +cp gsplus $DDIR/Contents/MacOS +cp $ADIR/Info.plist $DDIR/Contents +cp $ADIR/gsp-icons.icns $DDIR/Contents/Resources +dylibbundler -od -b -x $DDIR/Contents/MacOS/gsplus -d $DDIR/Contents/libs/ +tar -cvzf gsplus-osx.tar.gz gsplus-osx/ diff --git a/src/arch/mac/classes.nib b/src/arch/mac/classes.nib old mode 100755 new mode 100644 diff --git a/src/arch/mac/makedmg.sh b/src/arch/mac/makedmg.sh old mode 100755 new mode 100644 diff --git a/src/macdriver_console.c b/src/macdriver_console.c old mode 100755 new mode 100644 diff --git a/src/macdriver_generic.c b/src/macdriver_generic.c old mode 100755 new mode 100644 diff --git a/src/make_inst b/src/make_inst old mode 100755 new mode 100644 diff --git a/src/make_size b/src/make_size old mode 100755 new mode 100644 diff --git a/src/make_win b/src/make_win old mode 100755 new mode 100644 diff --git a/src/partls.c b/src/partls.c old mode 100755 new mode 100644 diff --git a/src/prodos.h b/src/prodos.h old mode 100755 new mode 100644 diff --git a/src/prodos_protos.h b/src/prodos_protos.h old mode 100755 new mode 100644 diff --git a/src/to_pro.c b/src/to_pro.c old mode 100755 new mode 100644