Skip to content

Commit

Permalink
Add electron-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
KeziahMoselle committed Feb 11, 2018
1 parent afde073 commit d5625dd
Show file tree
Hide file tree
Showing 14 changed files with 3,473 additions and 120 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ typings/
.env

# Release folder
releases/
dist/

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ npm start
## Build

```sh
npm run build
npm run dist
```
A release folder should be created with all builds and one installer for Windows x64.

## Built With

Expand Down
16 changes: 1 addition & 15 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,4 @@ install:
- npm install

build_script:
- npm run build

deploy:
release: gelbooru-client-v$(appveyor_build_version)
tag: $(appveyor_build_version)
description: 'If you want builds for other platforms, please clone this repository and run npm run build you will find the packages for each platform.'
provider: GitHub
auth_token:
secure: oZGyi7pPIdF3lFXXRpaWxxoLpakgUXdBKLmi3VlUGFFvdEQ6MzTNEPGspNOHWFbb
artifact: /.*\.exe/
draft: true
prerelease: true
on:
branch: master
appveyor_repo_tag: true
- npm run dist
Binary file removed assets/icons/icon.icns
Binary file not shown.
Binary file removed assets/icons/icon.ico
Binary file not shown.
Binary file removed assets/icons/icon.png
Binary file not shown.
Binary file added build/icon.ico
Binary file not shown.
Binary file added build/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 0 additions & 65 deletions installers/setupEvent.js

This file was deleted.

26 changes: 0 additions & 26 deletions installers/win.js

This file was deleted.

4 changes: 0 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// Setup Events
const setupEvents = require('./installers/setupEvent');
if (setupEvents.handleSquirrelEvent()) {return;}

// Modules

const electron = require('electron');
Expand Down
Loading

0 comments on commit d5625dd

Please sign in to comment.