Skip to content

Commit

Permalink
Installer update
Browse files Browse the repository at this point in the history
Mac Install Fix: package sentinel into the installer
  • Loading branch information
cocktailpeanut committed Jan 1, 2025
1 parent 0c1e9c3 commit 92c9924
Show file tree
Hide file tree
Showing 15 changed files with 348 additions and 22 deletions.
Binary file added assets/Sentinel.app/Contents/CodeResources
Binary file not shown.
54 changes: 54 additions & 0 deletions assets/Sentinel.app/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>24B91</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>Sentinel</string>
<key>CFBundleExecutable</key>
<string>Sentinel</string>
<key>CFBundleIconFile</key>
<string>AppIcon</string>
<key>CFBundleIconName</key>
<string>AppIcon</string>
<key>CFBundleIdentifier</key>
<string>com.alienator88.Sentinel</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Sentinel</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.9</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>10</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>24B75</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>15.1</string>
<key>DTSDKBuild</key>
<string>24B75</string>
<key>DTSDKName</key>
<string>macosx15.1</string>
<key>DTXcode</key>
<string>1610</string>
<key>DTXcodeBuild</key>
<string>16B40</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
<string>12.0</string>
</dict>
</plist>
Binary file added assets/Sentinel.app/Contents/MacOS/Sentinel
Binary file not shown.
1 change: 1 addition & 0 deletions assets/Sentinel.app/Contents/PkgInfo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
APPL????
Binary file not shown.
Binary file added assets/Sentinel.app/Contents/Resources/Assets.car
Binary file not shown.
20 changes: 20 additions & 0 deletions assets/Sentinel.app/Contents/Resources/Builds/Export/build.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
✓ Switched active account for github.com to alienator88
github.com
✓ Logged in to github.com account alienator88 (keyring)
- Active account: true
- Git operations protocol: ssh
- Token: gho_************************************
- Token scopes: 'admin:public_key', 'gist', 'read:org', 'repo'

✓ Logged in to github.com account alin-strongdm (keyring)
- Active account: false
- Git operations protocol: ssh
- Token: gho_************************************
- Token scopes: 'admin:public_key', 'gist', 'read:org', 'repo'
All identities removed.
Identity added: /Users/alin/.ssh/id_ed25519_personal (lupascu.marius@gmail.com)
Loaded SSH keys:
256 SHA256:ogYvK3FE9zzK3OC+c1IGvZ2GLbEP/M7gqCUdbCPbvjg lupascu.marius@gmail.com (ED25519)
Testing SSH access to GitHub:
Hi alienator88! You've successfully authenticated, but GitHub does not provide shell access.
Building and archiving the app...
10 changes: 10 additions & 0 deletions assets/Sentinel.app/Contents/Resources/Builds/ExportOptions.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>mac-application</string>
<key>teamID</key>
<string>BK8443AXLU</string>
</dict>
</plist>
3 changes: 3 additions & 0 deletions assets/Sentinel.app/Contents/Resources/Builds/changes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## What's New
- [x] Add error handling and elevated privileges attempt for the quarantine and sign drops - #9
- [x] Update AF swift package and functions
179 changes: 179 additions & 0 deletions assets/Sentinel.app/Contents/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Resources/AppIcon.icns</key>
<data>
h6tZDTyHZ2R2IWkVTtCxLhl+HSg=
</data>
<key>Resources/Assets.car</key>
<data>
EWjuroYvZK+QyGXE1DRkCrCdU+s=
</data>
<key>Resources/Builds/Export/build.log</key>
<data>
/1+R9frhIPUyJgc2j5eXJlGRjCc=
</data>
<key>Resources/Builds/ExportOptions.plist</key>
<data>
0MA4j9V6vZY/5lwV302/eYd+bC4=
</data>
<key>Resources/Builds/changes.md</key>
<data>
taE19+UtRUiIJQOdJrc7uT9MPNw=
</data>
</dict>
<key>files2</key>
<dict>
<key>Resources/AppIcon.icns</key>
<dict>
<key>hash2</key>
<data>
o9EvbNelk40Oz6CKsgeNhz96b+y/PMVfPp9npHocK9g=
</data>
</dict>
<key>Resources/Assets.car</key>
<dict>
<key>hash2</key>
<data>
WnZi0g40uK80Y07oFL7NaTi1zLCpxUlKPPCz6QUvr8E=
</data>
</dict>
<key>Resources/Builds/Export/build.log</key>
<dict>
<key>hash2</key>
<data>
k5ex4VXZ/kJW2TVuNQgARnQ3syKSjCApAth7GOxrEfI=
</data>
</dict>
<key>Resources/Builds/ExportOptions.plist</key>
<dict>
<key>hash2</key>
<data>
APrSQhPZDr6JTHB5NQYf4XtUpeok10HmBsSM+76Jme4=
</data>
</dict>
<key>Resources/Builds/changes.md</key>
<dict>
<key>hash2</key>
<data>
cqM5Q1/KdwiDyllnshzSEeV4QgbkbRpXbwGkYijg1r4=
</data>
</dict>
<key>embedded.provisionprofile</key>
<dict>
<key>hash2</key>
<data>
B/vWCXpwvDXC7Th62V4KnkGLNIEhWtr+/lj2y0WKaJ8=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^Resources/</key>
<true/>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>
Binary file not shown.
Binary file added assets/background.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 8 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Pinokio",
"version": "3.0.26",
"version": "3.2.0",
"homepage": "https://pinokio.computer",
"description": "pinokio",
"main": "main.js",
Expand All @@ -9,6 +9,7 @@
"scripts": {
"start": "electron .",
"pack": "./node_modules/.bin/electron-builder --dir",
"eject": "hdiutil info | grep '/dev/disk' | awk '{print $1}' | xargs -I {} hdiutil detach {}",
"dist": "npm run monkeypatch && export SNAPCRAFT_BUILD_ENVIRONMENT=host && export SNAP_DESTRUCTIVE_MODE='true' && ./node_modules/.bin/electron-builder -mwl && npm run zip",
"zip": "node script/zip",
"monkeypatch": "cp temp/yarn.js node_modules/app-builder-lib/out/util/yarn.js && cp temp/rebuild.js node_modules/@electron/rebuild/lib/src/rebuild.js",
Expand All @@ -35,21 +36,15 @@
}
],
"dmg": {
"background": "./assets/background.png",
"background": "./assets/background.gif",
"contents": [
{
"x": 130,
"y": 250
"x": 250,
"y": 150
},
{
"x": 410,
"y": 80,
"type": "file",
"path": "./script/patch.command"
},
{
"x": 410,
"y": 250,
"x": 550,
"y": 150,
"type": "link",
"path": "/Applications"
}
Expand Down Expand Up @@ -108,7 +103,7 @@
"dependencies": {
"electron-store": "^8.1.0",
"electron-window-state": "^5.0.3",
"pinokiod": "^3.0.26"
"pinokiod": "^3.2.0"
},
"devDependencies": {
"@electron/rebuild": "3.2.10",
Expand Down
Loading

0 comments on commit 92c9924

Please sign in to comment.