Skip to content

Commit a5f36db

Browse files
committed
Add webmanifest, lower android app build frequency
1 parent 255ccae commit a5f36db

4 files changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/build-android-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
# - capacitor
77

88
schedule:
9-
# Every week
10-
- cron: '0 0 * * 0'
9+
# Two times per month
10+
- cron: '0 0 1,15 * *'
1111

1212
# Allows you to run this workflow manually from the Actions tab
1313
workflow_dispatch:

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<link rel="canonical" href="%VITE_DEPLOY_BASE_URL%/">
1313
<link rel="icon" href="/favicon.ico" sizes="any">
1414
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
15+
<link rel="manifest" href="niimblue.webmanifest">
1516

1617
<!-- Preload fonts to make canvas.js happy -->
1718
<link rel="preload" as="font" type="font/woff2" crossorigin="anonymous"

public/niimblue.webmanifest

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "NiimBlue",
3+
"short_name": "niimblue",
4+
"description": "NIIMBOT custom web client/app. Design and print labels with NIIMBOT printers directly from your PC or mobile web browser!",
5+
"icons": [
6+
{
7+
"src": "favicon.svg",
8+
"sizes": "any"
9+
}
10+
],
11+
"start_url": "/",
12+
"display": "standalone",
13+
"theme_color": "#212529",
14+
"background_color": "#212529"
15+
}

src/utils/persistence.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import { get, writable, type Updater, type Writable } from "svelte/store";
2020
export function writablePersisted<T>(key: string, schema: z.ZodType<T>, initialValue: T): Writable<T> {
2121
const wr = writable<T>(initialValue);
2222

23-
console.log("read");
24-
2523
try {
2624
const val = LocalStoragePersistence.loadAndValidateObject(key, schema);
2725
if (val != null) {

0 commit comments

Comments
 (0)