Prepare for RPMs
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
*~
|
||||
TrimSPweb.js
|
||||
TrimSP.cfg
|
||||
ToDo.txt
|
||||
#*
|
||||
Readme.md
|
||||
+6
-2
@@ -1051,8 +1051,12 @@ function startSequence(All) {
|
||||
if (!webOrApp) {
|
||||
// Check if the trimspNL binary is found
|
||||
if (!fileExists(trimBin)) {
|
||||
// if not found, try in PATH and hope for the best
|
||||
trimBin = "trimspNL";
|
||||
// check if it is in rpm
|
||||
trimBin = "/usr/lib/TrimSP/resources/app/trimspNL";
|
||||
if (!fileExists(trimBin)) {
|
||||
// if not found, try in PATH and hope for the best
|
||||
trimBin = "trimspNL";
|
||||
}
|
||||
}
|
||||
|
||||
// Check if workPath exists otherwise create it
|
||||
|
||||
+6
-7
@@ -12,11 +12,11 @@
|
||||
"author": "Zaher Salman",
|
||||
"license": "GPL2",
|
||||
"devDependencies": {
|
||||
"@electron-forge/cli": "^6.0.4",
|
||||
"@electron-forge/maker-deb": "^6.0.4",
|
||||
"@electron-forge/maker-rpm": "^6.0.4",
|
||||
"@electron-forge/maker-squirrel": "^6.0.4",
|
||||
"@electron-forge/maker-zip": "^6.0.4",
|
||||
"@electron-forge/cli": "^6.0.0-beta.57",
|
||||
"@electron-forge/maker-deb": "^6.0.0-beta.57",
|
||||
"@electron-forge/maker-rpm": "^6.0.0-beta.57",
|
||||
"@electron-forge/maker-squirrel": "^6.0.0-beta.57",
|
||||
"@electron-forge/maker-zip": "^6.0.0-beta.57",
|
||||
"electron": "^11.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -26,8 +26,7 @@
|
||||
"config": {
|
||||
"forge": {
|
||||
"packagerConfig": {
|
||||
"icon": "./appicons/icons/png/1024x1024.png",
|
||||
"extraResource" : "/usr/local/bin/trimspNL",
|
||||
"icon": "appicons/icons/png/1024x1024.png"
|
||||
},
|
||||
"makers": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user