Skip to content

Commit

Permalink
feat: 🚀 Preparing deploy, bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatiasTK committed Apr 23, 2024
1 parent 003a970 commit 48ab925
Show file tree
Hide file tree
Showing 34 changed files with 2,252 additions and 604 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ jobs:
with:
node-version: 20
- run: npm ci
- name: Build API
run: |
cd wikari
npm ci
npm run build
cd ..
- name: Publish app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,5 @@ out/
# Others
testing/
.vscode
lib/
.env
out/
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ _Simple ElectronJS APP to connect and control [WiZ](https://www.wizconnected.com

## Preview 📌

![Preview](https://i.imgur.com/d4RZz9v.png)
![Preview](https://i.imgur.com/vs6W5wM.png)

![Scenes](https://i.imgur.com/JySYM8y.png)
![Scenes](https://i.imgur.com/8AsMpvc.png)

> [!IMPORTANT]
> This app is still in development, so it may have some bugs.
![Custom](https://i.imgur.com/AIDfSRU.png)

## Installation 🔧

Expand All @@ -26,9 +25,6 @@ You can download the latest release from [here](https://github.com/MatiasTK/WizA
If you want to build the app yourself, you can do it by following these steps:

- Clone the repo.
- Build [wikari](https://github.com/uditkarode/wikari)
- `cd wikari`
- `npm run build`
- Install the dependencies with `npm install`.
- Run `npm run make` to build the app.
- The app will be in the `out` folder.
Expand All @@ -39,8 +35,9 @@ If the app have trouble discovering your bulbs, you can enter the IP manually. Y

## Built with 🛠️

- [ElectronJS](https://www.electronjs.org/) - Framework used.
- [ElectronJS](https://www.electronjs.org/) - Desktop Framework used.
- [Bootstrap](https://getbootstrap.com/) - Used for the UI.
- [React](https://react.dev/) - Web framework used.

## Responsibilities 📖

Expand Down
14 changes: 14 additions & 0 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { rendererConfig } from './webpack.renderer.config';
const config: ForgeConfig = {
packagerConfig: {
asar: true,
icon: 'src/assets/icon',
},
rebuildConfig: {},
makers: [new MakerSquirrel({}), new MakerZIP({}, ['darwin']), new MakerRpm({}), new MakerDeb({})],
Expand Down Expand Up @@ -47,6 +48,19 @@ const config: ForgeConfig = {
[FuseV1Options.OnlyLoadAppFromAsar]: true,
}),
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'MatiasTK',
name: 'WizAPP',
},
prerelease: false,
draft: true,
},
},
],
};

export default config;
208 changes: 208 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "wiz_app",
"productName": "WiZApp",
"version": "2.0.0",
"icon": "src/assets/icon.ico",
"description": "Simple ElectronJS APP to connect and control WiZ Bulbs",
"main": ".webpack/main",
"scripts": {
Expand All @@ -20,6 +21,7 @@
"@electron-forge/plugin-auto-unpack-natives": "^7.4.0",
"@electron-forge/plugin-fuses": "^7.4.0",
"@electron-forge/plugin-webpack": "^7.4.0",
"@electron-forge/publisher-github": "^7.4.0",
"@electron/fuses": "^1.8.0",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
Expand Down
Loading

0 comments on commit 48ab925

Please sign in to comment.