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",
|
"name": "vikunja-desktop",
|
||||||
"version": "0.14.0",
|
"version": "0.14.0",
|
||||||
"description": "Vikunja's frontend as a standalone desktop application.",
|
"description": "Vikunja's frontend as a standalone desktop application.",
|
||||||
"main": "src/index.js",
|
"main": "main.js",
|
||||||
"repository": "https://code.vikunja.io/desktop",
|
"repository": "https://code.vikunja.io/desktop",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"author": {
|
"author": {
|
||||||
@ -11,17 +11,13 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://vikunja.io",
|
"homepage": "https://vikunja.io",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron-forge start",
|
"start": "electron .",
|
||||||
"pack": "electron-builder --dir",
|
"pack": "electron-builder --dir",
|
||||||
"dist": "electron-builder"
|
"dist": "electron-builder"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "io.vikunja.desktop",
|
"appId": "io.vikunja.desktop",
|
||||||
"productName": "Vikunja Desktop",
|
"productName": "Vikunja Desktop",
|
||||||
"files": [
|
|
||||||
"./frontend/**/*",
|
|
||||||
"./src/index.js"
|
|
||||||
],
|
|
||||||
"linux": {
|
"linux": {
|
||||||
"target": [
|
"target": [
|
||||||
"deb",
|
"deb",
|
||||||
@ -53,9 +49,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@electron-forge/cli": "6.0.0-beta.52",
|
"electron": "^10.1.3",
|
||||||
"asar": "^3.0.3",
|
"electron-builder": "^22.9.1"
|
||||||
"electron": "9.1.0",
|
|
||||||
"electron-builder": "^22.8.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:
|
actual frontend bundle and build the app:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
rm -rf frontend vikunja-frontend-master.zip
|
||||||
wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
|
wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
|
||||||
unzip vikunja-frontend-master.zip -d frontend
|
unzip vikunja-frontend-master.zip -d frontend
|
||||||
sed -i 's/\/fonts/file\:\/\/fonts/g' frontend/index.html
|
sed -i 's/\/fonts/.\/fonts/g' frontend/index.html
|
||||||
sed -i 's/\/js/file\:\/\/js/g' frontend/index.html
|
sed -i 's/\/js/.\/js/g' frontend/index.html
|
||||||
sed -i 's/\/css/file\:\/\/css/g' frontend/index.html
|
sed -i 's/\/css/.\/css/g' frontend/index.html
|
||||||
sed -i 's/\/images/file\:\/\/images/g' frontend/index.html
|
sed -i 's/\/images/.\/images/g' frontend/index.html
|
||||||
sed -i "s/\/'images/'file\:\/\/images/g" frontend/js/*
|
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
|
## Building for release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user