Skip to content

Commit

Permalink
Feature/v10 improve dist (#24)
Browse files Browse the repository at this point in the history
* Add new app icon

* Remove importing deleted file

* Add nsis installer config

* Improve GitHub Actions (not tested well)
  • Loading branch information
kakakaya authored Feb 18, 2024
1 parent dc57ea5 commit 9759e23
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 9 deletions.
30 changes: 23 additions & 7 deletions .github/workflows/wails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,38 @@ on:
push:
branches: [ "main" ]

env:
# Necessary for most environments as build failure can occur due to OOM issues
NODE_OPTIONS: "--max-old-space-size=4096"

jobs:
build:
strategy:
# Failure in one platform build won't impact the others
fail-fast: false
matrix:
build: [
{name: wailsTest, platform: linux/amd64, os: ubuntu-latest},
{name: wailsTest, platform: windows/amd64, os: windows-latest},
# {name: wailsTest, platform: darwin/universal, os: macos-latest}
]
build:
- name: 'まぜそば大陸'
platform: 'linux/amd64'
os: 'ubuntu-latest'
- name: 'まぜそば大陸'
platform: 'windows/amd64'
os: 'windows-latest'
- name: 'まぜそば大陸'
platform: 'darwin/universal'
os: 'macos-latest'

runs-on: ${{ matrix.build.os }}
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- uses: dAppServer/wails-build-action@v2

- name: Build wails
uses: dAppServer/[email protected]
id: build
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
go-version: '1.22'
1 change: 0 additions & 1 deletion frontend/src/App.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script>
import logo from './assets/images/logo-universal.png'
import {
Chikuwa,
Post,
Expand Down
Binary file added frontend/src/assets/images/icon.ico
Binary file not shown.
Binary file removed frontend/src/assets/images/logo-universal.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion wails.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
{
"$schema": "https://wails.io/schemas/config.v2.json",
"name": "mazesoba-continent",
"outputfilename": "mazesoba-continent",
"outputfilename": "まぜそば大陸",
"frontend:install": "npm install",
"frontend:build": "npm run build",
"frontend:dev:watcher": "npm run dev",
"frontend:dev:serverUrl": "auto",
"author": {
"name": "kakakaya",
"email": "[email protected]"
},
"Info": {
"companyName": "kakakaya",
"productName": "まぜそば大陸",
"productVersion": "10.0.0",
"copyright": "Copyright 2023-2024 kakakaya",
"comments": "https://github.com/kakakaya/mazesoba-continent"
}
}

0 comments on commit 9759e23

Please sign in to comment.