added crunchyroll and widevine settings
This commit is contained in:
parent
65ff0e373a
commit
8482eaa3ba
13
components/Settings/Crunchyroll.vue
Normal file
13
components/Settings/Crunchyroll.vue
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
13
components/Settings/Widevine.vue
Normal file
13
components/Settings/Widevine.vue
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
@ -23,7 +23,10 @@
|
|||||||
"@nuxtjs/google-fonts": "^3.2.0",
|
"@nuxtjs/google-fonts": "^3.2.0",
|
||||||
"@nuxtjs/tailwindcss": "^6.12.0",
|
"@nuxtjs/tailwindcss": "^6.12.0",
|
||||||
"@pinia/nuxt": "^0.4.11",
|
"@pinia/nuxt": "^0.4.11",
|
||||||
|
"@types/crypto-js": "^4.2.2",
|
||||||
"@types/express": "^4.17.21",
|
"@types/express": "^4.17.21",
|
||||||
|
"@types/fluent-ffmpeg": "^2.1.24",
|
||||||
|
"@types/node-cron": "^3.0.11",
|
||||||
"concurrently": "^8.2.2",
|
"concurrently": "^8.2.2",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"electron": "^30.0.2",
|
"electron": "^30.0.2",
|
||||||
@ -31,6 +34,7 @@
|
|||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-config-prettier": "^8.10.0",
|
"eslint-config-prettier": "^8.10.0",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
|
"long": "^5.2.3",
|
||||||
"modclean": "3.0.0-beta.1",
|
"modclean": "3.0.0-beta.1",
|
||||||
"nuxt": "^3.11.2",
|
"nuxt": "^3.11.2",
|
||||||
"nuxt-icon": "^0.6.10",
|
"nuxt-icon": "^0.6.10",
|
||||||
@ -43,9 +47,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/cors": "^9.0.1",
|
"@fastify/cors": "^9.0.1",
|
||||||
"@types/crypto-js": "^4.2.2",
|
|
||||||
"@types/fluent-ffmpeg": "^2.1.24",
|
|
||||||
"@types/node-cron": "^3.0.11",
|
|
||||||
"ass-compiler": "^0.1.11",
|
"ass-compiler": "^0.1.11",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
"electron-log": "^5.1.2",
|
"electron-log": "^5.1.2",
|
||||||
@ -55,7 +56,6 @@
|
|||||||
"fastify": "^4.27.0",
|
"fastify": "^4.27.0",
|
||||||
"fluent-ffmpeg": "^2.1.2",
|
"fluent-ffmpeg": "^2.1.2",
|
||||||
"jsencrypt": "^3.3.2",
|
"jsencrypt": "^3.3.2",
|
||||||
"long": "^5.2.3",
|
|
||||||
"mpd-parser": "^1.3.0",
|
"mpd-parser": "^1.3.0",
|
||||||
"node-cache": "^5.1.2",
|
"node-cache": "^5.1.2",
|
||||||
"node-cron": "^3.0.3",
|
"node-cron": "^3.0.3",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<div class="relative flex flex-row items-center justify-center">
|
<div class="relative flex flex-row items-center justify-center">
|
||||||
<button
|
<button
|
||||||
v-if="tab === 2"
|
v-if="tab === 2"
|
||||||
@click=";(tab = 1), (added = false), (CRselectedShow = null), (ADNselectedShow = null)"
|
@click=";(tab = 1), (added = false), (CRselectedShow = null), (ADNselectedShow = null), (url = '')"
|
||||||
class="absolute left-0 bg-[#5c5b5b9c] py-1.5 px-3 rounded-xl flex flex-row items-center justify-center gap-0.5 hover:bg-[#4b4a4a] transition-all text-sm"
|
class="absolute left-0 bg-[#5c5b5b9c] py-1.5 px-3 rounded-xl flex flex-row items-center justify-center gap-0.5 hover:bg-[#4b4a4a] transition-all text-sm"
|
||||||
style="-webkit-app-region: no-drag"
|
style="-webkit-app-region: no-drag"
|
||||||
>
|
>
|
||||||
@ -323,7 +323,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="added" class="relative flex flex-row gap-5 mt-auto">
|
<div v-if="added" class="relative flex flex-row gap-5 mt-auto">
|
||||||
<button
|
<button
|
||||||
@click=";(tab = 1), (added = false), (CRselectedShow = null), (ADNselectedShow = null)"
|
@click=";(tab = 1), (added = false), (CRselectedShow = null), (ADNselectedShow = null), (url = '')"
|
||||||
class="relative py-3 border-2 rounded-xl flex flex-row items-center justify-center cursor-default w-full"
|
class="relative py-3 border-2 rounded-xl flex flex-row items-center justify-center cursor-default w-full"
|
||||||
>
|
>
|
||||||
<div class="flex gap-1 flex-row items-center justify-center transition-all">
|
<div class="flex gap-1 flex-row items-center justify-center transition-all">
|
||||||
|
@ -14,12 +14,14 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<SettingsMain v-if="activeIndex === 0" />
|
<SettingsMain v-if="activeIndex === 0" />
|
||||||
<SettingsAbout v-if="activeIndex === 1" />
|
<SettingsCrunchyroll v-if="activeIndex === 1" />
|
||||||
|
<SettingsWidevine v-if="activeIndex === 2" />
|
||||||
|
<SettingsAbout v-if="activeIndex === 3" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
const options = ref<Array<string>>(['Main', 'About'])
|
const options = ref<Array<string>>(['Main', 'Crunchyroll', 'Widevine', 'About'])
|
||||||
const activeIndex = ref(0)
|
const activeIndex = ref(0)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
24
pnpm-lock.yaml
generated
24
pnpm-lock.yaml
generated
@ -11,15 +11,6 @@ importers:
|
|||||||
'@fastify/cors':
|
'@fastify/cors':
|
||||||
specifier: ^9.0.1
|
specifier: ^9.0.1
|
||||||
version: 9.0.1
|
version: 9.0.1
|
||||||
'@types/crypto-js':
|
|
||||||
specifier: ^4.2.2
|
|
||||||
version: 4.2.2
|
|
||||||
'@types/fluent-ffmpeg':
|
|
||||||
specifier: ^2.1.24
|
|
||||||
version: 2.1.24
|
|
||||||
'@types/node-cron':
|
|
||||||
specifier: ^3.0.11
|
|
||||||
version: 3.0.11
|
|
||||||
ass-compiler:
|
ass-compiler:
|
||||||
specifier: ^0.1.11
|
specifier: ^0.1.11
|
||||||
version: 0.1.11
|
version: 0.1.11
|
||||||
@ -47,9 +38,6 @@ importers:
|
|||||||
jsencrypt:
|
jsencrypt:
|
||||||
specifier: ^3.3.2
|
specifier: ^3.3.2
|
||||||
version: 3.3.2
|
version: 3.3.2
|
||||||
long:
|
|
||||||
specifier: ^5.2.3
|
|
||||||
version: 5.2.3
|
|
||||||
mpd-parser:
|
mpd-parser:
|
||||||
specifier: ^1.3.0
|
specifier: ^1.3.0
|
||||||
version: 1.3.0
|
version: 1.3.0
|
||||||
@ -84,9 +72,18 @@ importers:
|
|||||||
'@pinia/nuxt':
|
'@pinia/nuxt':
|
||||||
specifier: ^0.4.11
|
specifier: ^0.4.11
|
||||||
version: 0.4.11(rollup@4.17.2)(typescript@5.4.5)(vue@3.4.27(typescript@5.4.5))
|
version: 0.4.11(rollup@4.17.2)(typescript@5.4.5)(vue@3.4.27(typescript@5.4.5))
|
||||||
|
'@types/crypto-js':
|
||||||
|
specifier: ^4.2.2
|
||||||
|
version: 4.2.2
|
||||||
'@types/express':
|
'@types/express':
|
||||||
specifier: ^4.17.21
|
specifier: ^4.17.21
|
||||||
version: 4.17.21
|
version: 4.17.21
|
||||||
|
'@types/fluent-ffmpeg':
|
||||||
|
specifier: ^2.1.24
|
||||||
|
version: 2.1.24
|
||||||
|
'@types/node-cron':
|
||||||
|
specifier: ^3.0.11
|
||||||
|
version: 3.0.11
|
||||||
concurrently:
|
concurrently:
|
||||||
specifier: ^8.2.2
|
specifier: ^8.2.2
|
||||||
version: 8.2.2
|
version: 8.2.2
|
||||||
@ -108,6 +105,9 @@ importers:
|
|||||||
eslint-plugin-prettier:
|
eslint-plugin-prettier:
|
||||||
specifier: ^4.2.1
|
specifier: ^4.2.1
|
||||||
version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8)
|
version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8)
|
||||||
|
long:
|
||||||
|
specifier: ^5.2.3
|
||||||
|
version: 5.2.3
|
||||||
modclean:
|
modclean:
|
||||||
specifier: 3.0.0-beta.1
|
specifier: 3.0.0-beta.1
|
||||||
version: 3.0.0-beta.1
|
version: 3.0.0-beta.1
|
||||||
|
@ -40,7 +40,6 @@ function createWindow() {
|
|||||||
resizable: false,
|
resizable: false,
|
||||||
fullscreen: false,
|
fullscreen: false,
|
||||||
maximizable: false,
|
maximizable: false,
|
||||||
frame: false,
|
|
||||||
vibrancy: 'fullscreen-ui',
|
vibrancy: 'fullscreen-ui',
|
||||||
// Not working when unfocusing the window somehow?
|
// Not working when unfocusing the window somehow?
|
||||||
backgroundMaterial: 'acrylic',
|
backgroundMaterial: 'acrylic',
|
||||||
|
Reference in New Issue
Block a user