@zerwiz/sessrumnir 0.1.22 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/main/index.js +9 -3
- package/out/renderer/assets/{index-BDCZuN3N.css → index-CbSna89q.css} +4 -2
- package/out/renderer/assets/{index-D8rvrqF7.js → index-D-83-8fV.js} +1 -1
- package/out/renderer/index.html +2 -2
- package/package.json +1 -1
- package/src/main/diagnostics.ts +3 -1
- package/src/main/ipc/update-handlers.ts +2 -2
- package/src/renderer/src/index.css +1 -1
package/out/main/index.js
CHANGED
|
@@ -9200,7 +9200,7 @@ function registerSystemHandlers(ctx) {
|
|
|
9200
9200
|
return activityStatsStore.computeStats();
|
|
9201
9201
|
});
|
|
9202
9202
|
}
|
|
9203
|
-
const UPDATE_REPO = "
|
|
9203
|
+
const UPDATE_REPO = "zerwiz/sessrumnir";
|
|
9204
9204
|
const UPDATE_CHECK_TIMEOUT_MS = 8e3;
|
|
9205
9205
|
async function checkForUpdate() {
|
|
9206
9206
|
const currentVersion = electron.app.getVersion();
|
|
@@ -9209,7 +9209,7 @@ async function checkForUpdate() {
|
|
|
9209
9209
|
const controller = new AbortController();
|
|
9210
9210
|
const timer = setTimeout(() => controller.abort(), UPDATE_CHECK_TIMEOUT_MS);
|
|
9211
9211
|
const res = await fetch(`https://api.github.com/repos/${UPDATE_REPO}/releases?per_page=10`, {
|
|
9212
|
-
headers: { Accept: "application/vnd.github+json", "User-Agent": "
|
|
9212
|
+
headers: { Accept: "application/vnd.github+json", "User-Agent": "Sessrumnir" },
|
|
9213
9213
|
signal: controller.signal
|
|
9214
9214
|
});
|
|
9215
9215
|
clearTimeout(timer);
|
|
@@ -9320,7 +9320,13 @@ async function collectDiagnostics(workspaceManager2) {
|
|
|
9320
9320
|
return {
|
|
9321
9321
|
generatedAt: Date.now(),
|
|
9322
9322
|
app: {
|
|
9323
|
-
version:
|
|
9323
|
+
version: (() => {
|
|
9324
|
+
try {
|
|
9325
|
+
return require("../../package.json").version;
|
|
9326
|
+
} catch {
|
|
9327
|
+
return electron.app.getVersion();
|
|
9328
|
+
}
|
|
9329
|
+
})(),
|
|
9324
9330
|
electron: process.versions.electron ?? "unknown",
|
|
9325
9331
|
chrome: process.versions.chrome ?? "unknown",
|
|
9326
9332
|
node: process.versions.node ?? "unknown",
|
|
@@ -4107,10 +4107,12 @@
|
|
|
4107
4107
|
}
|
|
4108
4108
|
|
|
4109
4109
|
.ember-bg {
|
|
4110
|
-
z-index:
|
|
4110
|
+
z-index: 0;
|
|
4111
4111
|
pointer-events: none;
|
|
4112
|
-
opacity: .
|
|
4112
|
+
opacity: .6;
|
|
4113
4113
|
mix-blend-mode: screen;
|
|
4114
|
+
width: 100vw;
|
|
4115
|
+
height: 100vh;
|
|
4114
4116
|
position: fixed;
|
|
4115
4117
|
inset: 0;
|
|
4116
4118
|
}
|
|
@@ -21157,7 +21157,7 @@ function StatusPopover() {
|
|
|
21157
21157
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-4 py-2 border-t border-border flex items-center justify-between text-[10px] text-faint", children: [
|
|
21158
21158
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
|
|
21159
21159
|
"v",
|
|
21160
|
-
"0.1.
|
|
21160
|
+
"0.1.24"
|
|
21161
21161
|
] }),
|
|
21162
21162
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
21163
21163
|
"button",
|
package/out/renderer/index.html
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
<link rel="icon" type="image/svg+xml" href="./assets/ymir-mark-kY-7e1x6.svg" />
|
|
11
11
|
<title>Sessrúmnir</title>
|
|
12
12
|
<script src="./theme-boot.js"></script>
|
|
13
|
-
<script type="module" crossorigin src="./assets/index-
|
|
14
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
13
|
+
<script type="module" crossorigin src="./assets/index-D-83-8fV.js"></script>
|
|
14
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CbSna89q.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body class="bg-app text-primary antialiased">
|
|
17
17
|
<div id="root"></div>
|
package/package.json
CHANGED
package/src/main/diagnostics.ts
CHANGED
|
@@ -72,7 +72,9 @@ export async function collectDiagnostics(
|
|
|
72
72
|
return {
|
|
73
73
|
generatedAt: Date.now(),
|
|
74
74
|
app: {
|
|
75
|
-
version:
|
|
75
|
+
version: (() => {
|
|
76
|
+
try { return require('../../package.json').version } catch { return app.getVersion() }
|
|
77
|
+
})(),
|
|
76
78
|
electron: process.versions.electron ?? 'unknown',
|
|
77
79
|
chrome: process.versions.chrome ?? 'unknown',
|
|
78
80
|
node: process.versions.node ?? 'unknown',
|
|
@@ -4,7 +4,7 @@ import { IPC_CHANNELS } from '../../shared/ipc-contracts'
|
|
|
4
4
|
import { isNewerVersion } from '../../shared/version-compare'
|
|
5
5
|
import { appLog } from '../app-log'
|
|
6
6
|
|
|
7
|
-
const UPDATE_REPO = '
|
|
7
|
+
const UPDATE_REPO = 'zerwiz/sessrumnir'
|
|
8
8
|
const UPDATE_CHECK_TIMEOUT_MS = 8000
|
|
9
9
|
|
|
10
10
|
interface GithubRelease {
|
|
@@ -24,7 +24,7 @@ async function checkForUpdate(): Promise<UpdateCheckResult> {
|
|
|
24
24
|
const controller = new AbortController()
|
|
25
25
|
const timer = setTimeout(() => controller.abort(), UPDATE_CHECK_TIMEOUT_MS)
|
|
26
26
|
const res = await fetch(`https://api.github.com/repos/${UPDATE_REPO}/releases?per_page=10`, {
|
|
27
|
-
headers: { Accept: 'application/vnd.github+json', 'User-Agent': '
|
|
27
|
+
headers: { Accept: 'application/vnd.github+json', 'User-Agent': 'Sessrumnir' },
|
|
28
28
|
signal: controller.signal,
|
|
29
29
|
})
|
|
30
30
|
clearTimeout(timer)
|
|
@@ -378,5 +378,5 @@
|
|
|
378
378
|
at build time, so they can't live here. */
|
|
379
379
|
|
|
380
380
|
/* The hearth — embers rising over the cloth. */
|
|
381
|
-
.ember-bg { position: fixed; inset: 0; z-index:
|
|
381
|
+
.ember-bg { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: 0.6; mix-blend-mode: screen; }
|
|
382
382
|
html, body { background-color: var(--app, #0e0c09); }
|