This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Debian dependencies issue
- Loading branch information
Showing
8 changed files
with
57 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"description": "Sentinel Network - dVPN Desktop Application", | ||
"productName": "Sentinel", | ||
"author": "Dev Team <[email protected]>", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"private": true, | ||
"main": "electron.js", | ||
"license": "MIT", | ||
|
@@ -40,7 +40,7 @@ | |
"package-mac": "electron-packager . Sentinel --overwrite --asar --platform=darwin --arch=x64 --icon=public/icon256x256.ico --prune=true --out=release-builds --extra-resource=public/gaiacli", | ||
"package-win": "electron-packager . sentinel --overwrite --asar --platform=win32 --icon=public/icon256x256.ico --prune=true --out=release-builds --win32metadata.CompanyName=Sentinel --win32metadata.FileDescription=\"Application for Sentinel\" --win32metadata.requested-execution-level=requireAdministrator --win32metadata.ProductName=\"Sentinel\"", | ||
"package-linux": "electron-packager . sentinel --overwrite --asar --platform=linux --arch=x64 --icon=public/icon256x256.png --prune=true --out=release-builds", | ||
"create-installer-mac": "electron-installer-dmg ./release-builds/Sentinel-darwin-x64/Sentinel.app Sentinel-alpha-0.1.3 --out=release-builds --overwrite --icon=public/icon256x256.icns", | ||
"create-installer-mac": "electron-installer-dmg ./release-builds/Sentinel-darwin-x64/Sentinel.app Sentinel-alpha-0.1.4 --out=release-builds --overwrite --icon=public/icon256x256.icns", | ||
"create-installer-win": "node installers/windows/createinstaller.js", | ||
"create-debian-installer": "electron-installer-debian --src release-builds/sentinel-linux-x64/ --arch amd64 --config debian.json" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
#!/bin/sh | ||
|
||
gksu /usr/lib/sentinel/sentinel | ||
if command -v pkexec > /dev/null | ||
then | ||
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/lib/sentinel/sentinel | ||
else | ||
gksu /usr/lib/sentinel/sentinel | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
rm -rf node_modules build release-builds && \ | ||
yarn && \ | ||
sed -i '/libgconf2-4/d' node_modules/electron-installer-debian/src/dependencies.js && \ | ||
yarn build && \ | ||
yarn package-linux && \ | ||
cp -r public/ release-builds/sentinel-linux-x64/ && \ | ||
yarn create-debian-installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.