added crunchyroll and widevine settings

This commit is contained in:
stratuma 2024-05-15 13:31:41 +02:00
parent 65ff0e373a
commit 8482eaa3ba
7 changed files with 48 additions and 21 deletions

View File

@ -0,0 +1,13 @@
<template>
<div>
</div>
</template>
<script lang="ts" setup>
</script>
<style>
</style>

View File

@ -0,0 +1,13 @@
<template>
<div>
</div>
</template>
<script lang="ts" setup>
</script>
<style>
</style>

View File

@ -23,7 +23,10 @@
"@nuxtjs/google-fonts": "^3.2.0",
"@nuxtjs/tailwindcss": "^6.12.0",
"@pinia/nuxt": "^0.4.11",
"@types/crypto-js": "^4.2.2",
"@types/express": "^4.17.21",
"@types/fluent-ffmpeg": "^2.1.24",
"@types/node-cron": "^3.0.11",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"electron": "^30.0.2",
@ -31,6 +34,7 @@
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"long": "^5.2.3",
"modclean": "3.0.0-beta.1",
"nuxt": "^3.11.2",
"nuxt-icon": "^0.6.10",
@ -43,9 +47,6 @@
},
"dependencies": {
"@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",
"crypto-js": "^4.2.0",
"electron-log": "^5.1.2",
@ -55,7 +56,6 @@
"fastify": "^4.27.0",
"fluent-ffmpeg": "^2.1.2",
"jsencrypt": "^3.3.2",
"long": "^5.2.3",
"mpd-parser": "^1.3.0",
"node-cache": "^5.1.2",
"node-cron": "^3.0.3",

View File

@ -3,7 +3,7 @@
<div class="relative flex flex-row items-center justify-center">
<button
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"
style="-webkit-app-region: no-drag"
>
@ -323,7 +323,7 @@
</div>
<div v-if="added" class="relative flex flex-row gap-5 mt-auto">
<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"
>
<div class="flex gap-1 flex-row items-center justify-center transition-all">

View File

@ -14,12 +14,14 @@
</button>
</div>
<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>
</template>
<script lang="ts" setup>
const options = ref<Array<string>>(['Main', 'About'])
const options = ref<Array<string>>(['Main', 'Crunchyroll', 'Widevine', 'About'])
const activeIndex = ref(0)
</script>

View File

@ -11,15 +11,6 @@ importers:
'@fastify/cors':
specifier: ^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:
specifier: ^0.1.11
version: 0.1.11
@ -47,9 +38,6 @@ importers:
jsencrypt:
specifier: ^3.3.2
version: 3.3.2
long:
specifier: ^5.2.3
version: 5.2.3
mpd-parser:
specifier: ^1.3.0
version: 1.3.0
@ -84,9 +72,18 @@ importers:
'@pinia/nuxt':
specifier: ^0.4.11
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':
specifier: ^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:
specifier: ^8.2.2
version: 8.2.2
@ -108,6 +105,9 @@ importers:
eslint-plugin-prettier:
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)
long:
specifier: ^5.2.3
version: 5.2.3
modclean:
specifier: 3.0.0-beta.1
version: 3.0.0-beta.1

View File

@ -40,7 +40,6 @@ function createWindow() {
resizable: false,
fullscreen: false,
maximizable: false,
frame: false,
vibrancy: 'fullscreen-ui',
// Not working when unfocusing the window somehow?
backgroundMaterial: 'acrylic',