Remove all electron-forge-stuff
This commit is contained in:
parent
e5774d4553
commit
0fd48efd92
14
package.json
14
package.json
@ -2,7 +2,7 @@
|
||||
"name": "vikunja-desktop",
|
||||
"version": "0.14.0",
|
||||
"description": "Vikunja's frontend as a standalone desktop application.",
|
||||
"main": "src/index.js",
|
||||
"main": "main.js",
|
||||
"repository": "https://code.vikunja.io/desktop",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"author": {
|
||||
@ -11,17 +11,13 @@
|
||||
},
|
||||
"homepage": "https://vikunja.io",
|
||||
"scripts": {
|
||||
"start": "electron-forge start",
|
||||
"start": "electron .",
|
||||
"pack": "electron-builder --dir",
|
||||
"dist": "electron-builder"
|
||||
},
|
||||
"build": {
|
||||
"appId": "io.vikunja.desktop",
|
||||
"productName": "Vikunja Desktop",
|
||||
"files": [
|
||||
"./frontend/**/*",
|
||||
"./src/index.js"
|
||||
],
|
||||
"linux": {
|
||||
"target": [
|
||||
"deb",
|
||||
@ -53,9 +49,7 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@electron-forge/cli": "6.0.0-beta.52",
|
||||
"asar": "^3.0.3",
|
||||
"electron": "9.1.0",
|
||||
"electron-builder": "^22.8.1"
|
||||
"electron": "^10.1.3",
|
||||
"electron-builder": "^22.9.1"
|
||||
}
|
||||
}
|
||||
|
13
readme.md
13
readme.md
@ -10,13 +10,16 @@ As this repo does not contain any code, only a thin wrapper around electron, you
|
||||
actual frontend bundle and build the app:
|
||||
|
||||
```bash
|
||||
rm -rf frontend vikunja-frontend-master.zip
|
||||
wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
|
||||
unzip vikunja-frontend-master.zip -d frontend
|
||||
sed -i 's/\/fonts/file\:\/\/fonts/g' frontend/index.html
|
||||
sed -i 's/\/js/file\:\/\/js/g' frontend/index.html
|
||||
sed -i 's/\/css/file\:\/\/css/g' frontend/index.html
|
||||
sed -i 's/\/images/file\:\/\/images/g' frontend/index.html
|
||||
sed -i "s/\/'images/'file\:\/\/images/g" frontend/js/*
|
||||
sed -i 's/\/fonts/.\/fonts/g' frontend/index.html
|
||||
sed -i 's/\/js/.\/js/g' frontend/index.html
|
||||
sed -i 's/\/css/.\/css/g' frontend/index.html
|
||||
sed -i 's/\/images/.\/images/g' frontend/index.html
|
||||
sed -i 's/\/images/.\/images/g' frontend/js/*
|
||||
sed -i 's/\/css/.\/css/g' frontend/js/*
|
||||
sed -i 's/\/js/.\/js/g' frontend/js/*
|
||||
```
|
||||
|
||||
## Building for release
|
||||
|
Loading…
x
Reference in New Issue
Block a user