Browse Source

running electron-builder only now

master
Victor Giers 8 months ago
parent
commit
a53d78803a
15 changed files with 4014 additions and 10786 deletions
  1. 18
    2
      README.md
  2. 1
    3
      electron-serve.js
  3. 0
    0
      icons/icon.icns
  4. 0
    0
      icons/icon.ico
  5. 0
    0
      icons/icon.png
  6. BIN
      icons/png/128x128.png
  7. BIN
      icons/png/16x16.png
  8. BIN
      icons/png/24x24.png
  9. BIN
      icons/png/256x256.png
  10. BIN
      icons/png/32x32.png
  11. BIN
      icons/png/48x48.png
  12. BIN
      icons/png/512x512.png
  13. BIN
      icons/png/64x64.png
  14. 3973
    10750
      package-lock.json
  15. 22
    31
      package.json

+ 18
- 2
README.md View File

@@ -1,6 +1,22 @@
```
npm i
npm run make
```
```
npm run linux
```
This builds hic-0.0.1.AppImage
Windows following
```
certutil -hashfile .\hic-0.0.1.AppImage MD5
MD5-Hash von .\hic-0.0.1.AppImage:
779c70aa066da298ceeb433f98289f21
```

```
npm run windows
```
This builds hic-0.0.1.exe
```
certutil -hashfile '.\hic 0.0.1.exe' MD5
MD5-Hash von .\hic 0.0.1.exe:
3faebfc0b682a24d868693172f71040f
```

+ 1
- 3
electron-serve.js View File

@@ -1,5 +1,3 @@


const {app, BrowserWindow} = require('electron');
const serve = require('electron-serve');

@@ -12,7 +10,7 @@ let mainWindow;

mainWindow = new BrowserWindow({
width: 1280,
height: 720
height: 960
});

await loadURL(mainWindow);

icons/mac/icon.icns → icons/icon.icns View File


icons/win/icon.ico → icons/icon.ico View File


icons/png/1024x1024.png → icons/icon.png View File


BIN
icons/png/128x128.png View File


BIN
icons/png/16x16.png View File


BIN
icons/png/24x24.png View File


BIN
icons/png/256x256.png View File


BIN
icons/png/32x32.png View File


BIN
icons/png/48x48.png View File


BIN
icons/png/512x512.png View File


BIN
icons/png/64x64.png View File


+ 3973
- 10750
package-lock.json
File diff suppressed because it is too large
View File


+ 22
- 31
package.json View File

@@ -1,45 +1,36 @@
{
"name": "hic",
"version": "0.0.1",
"description": "HENVIRONMENT BROWSER",
"description": "get it, hic",
"main": "electron-serve.js",
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make"
"start": "electron .",
"build:w": "electron-builder -w",
"build:l": "electron-builder -l",
"build:m": "electron-builder -m"
},
"author": "Victor Giers",
"author": " ",
"license": "MIT",
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.61",
"@electron-forge/maker-deb": "^6.0.0-beta.61",
"@electron-forge/maker-rpm": "^6.0.0-beta.61",
"@electron-forge/maker-squirrel": "^6.0.0-beta.61",
"@electron-forge/maker-zip": "^6.0.0-beta.61",
"electron": "^16.0.1"
"electron": "^16.0.1",
"electron-builder": "^22.13.1",
"electron-squirrel-startup": "^1.0.0"
},
"dependencies": {
"electron-forge-maker-appimage": "trusktr/electron-forge-maker-appimage#patch-1",
"electron-serve": "^1.1.0",
"electron-squirrel-startup": "^1.0.0"
"electron-serve": "^1.1.0"
},
"config": {
"forge": {
"packagerConfig": {
"name": "hic",
"icon": "icons/mac/icon.icns"
},
"makers": [
{
"name": "electron-forge-maker-appimage",
"platforms": [
"linux"
],
"config": {
"name": "hic",
"icon": "icons/mac/icon.icns"
}
}
"build": {
"appId": "mit.hic.xyz",
"linux": {
"icon": "icons/icon.png"
},
"mac": {
"icon": "icons/icon.icns"
},
"win": {
"icon": "icons/icon.ico",
"target": [
"portable"
]
}
}

Loading…
Cancel
Save