Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8eef4fc477 | |||
| 614867bd12 | |||
| cdf2bf5952 |
@@ -1,13 +1,13 @@
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
|
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
# tags:
|
# tags:
|
||||||
# - "v[0-9]+.[0-9]+.[0-9]+"
|
# - "v[0-9]+.[0-9]+.[0-9]+"
|
||||||
|
|
||||||
# paths:
|
# paths:
|
||||||
# - ".gitea/workflows/deploy-client.yml"
|
# - ".gitea/workflows/deploy-client.yml"
|
||||||
# - "client/**"
|
# - "client/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-windows:
|
publish-windows:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="grid grid-cols-2 h-screen">
|
<div class="grid grid-cols-2 h-screen">
|
||||||
<div class="flex flex-col shadow-xl shadow-surface-950 overflow-y-hidden">
|
<div class="flex flex-col shadow-xl shadow-surface-950 overflow-y-hidden">
|
||||||
<AppHeader title="Шальные сиськи 18+">
|
<AppHeader title="Надарики">
|
||||||
<template #right>
|
<template #right>
|
||||||
<PrimeButtonGroup class="ml-auto">
|
<PrimeButtonGroup class="ml-auto">
|
||||||
<PrimeButton
|
<PrimeButton
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
export default defineNuxtRouteMiddleware(async (to, from) => {
|
export default defineNuxtRouteMiddleware(async (to, from) => {
|
||||||
if (import.meta.dev || import.meta.server)
|
// if (import.meta.dev || import.meta.server)
|
||||||
return
|
// return
|
||||||
|
|
||||||
const { isTauri } = useApp()
|
const { isTauri } = useApp()
|
||||||
|
|
||||||
if (!isTauri.value)
|
if (!isTauri.value)
|
||||||
return
|
return
|
||||||
|
|
||||||
if (from?.name)
|
if (from?.name || !!to.redirectedFrom)
|
||||||
return
|
return
|
||||||
|
|
||||||
const { checkForUpdates } = useUpdater()
|
const { checkForUpdates } = useUpdater()
|
||||||
@@ -15,6 +15,6 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
|
|||||||
const update = await checkForUpdates()
|
const update = await checkForUpdates()
|
||||||
|
|
||||||
if (update) {
|
if (update) {
|
||||||
return navigateTo({ name: 'Updating' })
|
return navigateTo({ name: 'Updater' })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ definePageMeta({
|
|||||||
auth: false,
|
auth: false,
|
||||||
middleware: () => {
|
middleware: () => {
|
||||||
const { lastUpdate } = useUpdater()
|
const { lastUpdate } = useUpdater()
|
||||||
|
|
||||||
if (!lastUpdate.value)
|
if (!lastUpdate.value)
|
||||||
return navigateTo('/')
|
return navigateTo('/')
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
||||||
"productName": "chad",
|
"productName": "chad",
|
||||||
"version": "0.2.7",
|
"version": "0.2.9",
|
||||||
"identifier": "xyz.koptilnya.chad",
|
"identifier": "xyz.koptilnya.chad",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../.output/public",
|
"frontendDist": "../.output/public",
|
||||||
|
|||||||
Reference in New Issue
Block a user