Swap identity 3

This commit is contained in:
NoCrypt 2024-07-25 00:20:05 +07:00
parent 06869fc9e5
commit 020fe6d12e
14 changed files with 32 additions and 46 deletions

View file

@ -12,17 +12,17 @@ body:
options:
- label: >-
I have searched the [issue
tracker](https://github.com/ThaUnknown/miru/issues) for a bug report
tracker](https://github.com/NoCrypt/migu/issues) for a bug report
that matches the one I want to file, without success.
required: true
- label: >-
I have searched the [frequently asked
questions](https://github.com/ThaUnknown/miru/blob/master/docs/faq.md)
questions](https://github.com/NoCrypt/migu/blob/master/docs/faq.md)
for a solution that fixes this problem, without success.
required: true
- label: >-
I have checked that I'm using the [latest
stable](https://github.com/ThaUnknown/miru/releases/latest) version
stable](https://github.com/NoCrypt/migu/releases/latest) version
of the app.
required: true
- type: input

View file

@ -12,17 +12,17 @@ body:
options:
- label: >-
I have searched the [issue
tracker](https://github.com/ThaUnknown/miru/issues) for a bug report
tracker](https://github.com/NoCrypt/migu/issues) for a bug report
that matches the one I want to file, without success.
required: true
- label: >-
I have searched the [features
list](https://github.com/ThaUnknown/miru#features) for this feature,
list](https://github.com/NoCrypt/migu#features) for this feature,
and I couldn't find it.
required: true
- label: >-
I have checked that I'm using the [latest
stable](https://github.com/ThaUnknown/miru/releases/latest) version
stable](https://github.com/NoCrypt/migu/releases/latest) version
of the app.
required: true
- type: textarea

View file

@ -1,14 +0,0 @@
name: Publish to WinGet
on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest
steps:
- name: WinGet Releaser
uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: ThaUnknown.Miru
installers-regex: '\installer.exe$'
token: ${{ secrets.WINGET_TOKEN }}

View file

@ -395,8 +395,8 @@ class AnilistClient {
variables.status = 'COMPLETED'
if (media.mediaListEntry?.status === 'REPEATING') variables.repeat = media.mediaListEntry.repeat + 1
}
if (!lists.includes('Watched using Miru')) {
variables.lists.push('Watched using Miru')
if (!lists.includes('Watched using Migu')) {
variables.lists.push('Watched using Migu')
}
await this.entry(variables)
this.userLists.value = this.getUserLists()
@ -712,7 +712,7 @@ class AnilistClient {
}
customList (variables = {}) {
variables.lists = [...variables.lists, 'Watched using Miru']
variables.lists = [...variables.lists, 'Watched using Migu']
const query = /* js */`
mutation($lists: [String]) {
UpdateUser(animeListOptions: { customLists: $lists }) {

View file

@ -58,7 +58,7 @@ async function handleToken (token) {
return
}
const lists = viewer?.data?.Viewer?.mediaListOptions?.animeList?.customLists || []
if (!lists.includes('Watched using Miru')) {
if (!lists.includes('Watched using Migu')) {
await anilistClient.customList({ lists })
}
localStorage.setItem('ALviewer', JSON.stringify({ token, viewer }))

View file

@ -24,7 +24,7 @@
<div>
<h1 class='font-weight-bold'>Could not connect to Torrent API!</h1>
<div class='font-size-16'>This happens either because the API is down, or because your ISP blocks the API, the latter being more likely.</div>
<div class='font-size-16'>Most features of Miru will not function correctly without being able to connect to an API.</div>
<div class='font-size-16'>Most features of Migu will not function correctly without being able to connect to an API.</div>
<div class='font-size-16'>If you enable a VPN a restart might be required for it to take effect.</div>
<!-- eslint-disable-next-line svelte/valid-compile -->
<div class='font-size-16'>Visit <a class='text-primary pointer' use:click={() => { IPC.emit('open', 'https://thewiki.moe/tutorials/unblock/') }}>this guide</a> for a tutorial on how to bypass ISP blocks.</div>

View file

@ -184,7 +184,7 @@
function setMediaSession (nowPlaying) {
if (typeof MediaMetadata === 'undefined') return
const name = [nowPlaying.title, nowPlaying.episode, nowPlaying.episodeTitle, 'Miru'].filter(i => i).join(' - ')
const name = [nowPlaying.title, nowPlaying.episode, nowPlaying.episodeTitle, 'Migu'].filter(i => i).join(' - ')
const metadata =
nowPlaying.thumbnail
@ -237,7 +237,7 @@
url: 'https://github.com/ThaUnknown/miru/releases/latest'
},
{
label: 'Watch on Miru',
label: 'Watch on Migu',
url: `miru://anime/${np.media?.id}`
}
]

View file

@ -45,7 +45,7 @@
</SettingCard>
{#if SUPPORTS.angle}
<h4 class='mb-10 font-weight-bold'>Rendering Settings</h4>
<SettingCard title='ANGLE Backend' description="What ANGLE backend to use for rendering. DON'T CHANGE WITHOUT REASON! On some Windows machines D3D9 might help with flicker. Changing this setting to something your device doesn't support might prevent Miru from opening which will require a full reinstall. While Vulkan is an available option it might not be fully supported on Linux.">
<SettingCard title='ANGLE Backend' description="What ANGLE backend to use for rendering. DON'T CHANGE WITHOUT REASON! On some Windows machines D3D9 might help with flicker. Changing this setting to something your device doesn't support might prevent Migu from opening which will require a full reinstall. While Vulkan is an available option it might not be fully supported on Linux.">
<select class='form-control bg-dark w-300 mw-full' bind:value={settings.angle} on:change={updateAngle}>
<option value='default' selected>Default</option>
<option value='d3d9'>D3D9</option>
@ -61,7 +61,7 @@
{/if}
<h4 class='mb-10 font-weight-bold'>Home Screen Settings</h4>
<SettingCard title='RSS Feeds' description={'RSS feeds to display on the home screen. This needs to be a CORS enabled URL to a Nyaa or Tosho like RSS feed which cotains either an "infoHash" or "enclosure" tag.\nThis only shows the releases on the home screen, it doesn\'t automatically download the content.\nSince the feeds only provide the name of the file, Miru might not always detect the anime correctly!\nSome presets for popular groups are already provided as an example, custom feeds require the FULL URL.'}>
<SettingCard title='RSS Feeds' description={'RSS feeds to display on the home screen. This needs to be a CORS enabled URL to a Nyaa or Tosho like RSS feed which cotains either an "infoHash" or "enclosure" tag.\nThis only shows the releases on the home screen, it doesn\'t automatically download the content.\nSince the feeds only provide the name of the file, Migu might not always detect the anime correctly!\nSome presets for popular groups are already provided as an example, custom feeds require the FULL URL.'}>
<div>
{#each settings.rssFeedsNew as _, i}
<div class='input-group mb-10 w-500 mw-full'>

View file

@ -149,7 +149,7 @@
{#if SUPPORTS.externalPlayer}
<h4 class='mb-10 font-weight-bold'>External Player Settings</h4>
<SettingCard title='Enable External Player' description='Tells Miru to open a custom user-defined video player to play video, instead of using the built-in one.'>
<SettingCard title='Enable External Player' description='Tells Migu to open a custom user-defined video player to play video, instead of using the built-in one.'>
<div class='custom-switch'>
<input type='checkbox' id='player-external-enabled' bind:checked={settings.enableExternal} />
<label for='player-external-enabled'>{settings.enableExternal ? 'On' : 'Off'}</label>

View file

@ -25,13 +25,13 @@
if (!wasUpdated) {
wasUpdated = true
toast('Auto Updater', {
description: 'A new version of Miru is available. Downloading!'
description: 'A new version of Migu is available. Downloading!'
})
}
})
IPC.on('update-downloaded', () => {
toast.success('Auto Updater', {
description: 'A new version of Miru has downloaded. You can restart to update!'
description: 'A new version of Migu has downloaded. You can restart to update!'
})
})
@ -172,7 +172,7 @@
<div class='col-sm-3 d-none d-sm-flex' />
<div class='col-sm-6 d-flex justify-content-center flex-column'>
<h1 class='font-weight-bold text-white title'>Changelog</h1>
<div class='font-size-18 text-muted'>New updates and improvements to Miru.</div>
<div class='font-size-18 text-muted'>New updates and improvements to Migu.</div>
</div>
</div>
{#await changeLog}

View file

@ -82,7 +82,7 @@ module.exports = (parentDir, alias = {}, aliasFields = 'browser', filename = 'ap
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="theme-color" content="#17191C">
<title>Miru</title>
<title>Migu</title>
<!-- <link rel="preconnect" href="https://www.youtube-nocookie.com"> -->
<link rel="preconnect" href="https://graphql.anilist.co/">

View file

@ -1,11 +1,11 @@
{
"name": "Miru",
"name": "Migu",
"version": "5.2.5",
"private": true,
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"author": "NoCrypt <NoCrypt@users.noreply.github.com>",
"description": "Stream anime torrents, real-time with no waiting for downloads.",
"main": "build/main.js",
"homepage": "https://github.com/ThaUnknown/miru#readme",
"homepage": "https://github.com/NoCrypt/migu#readme",
"scripts": {
"start": "cross-env NODE_ENV=development webpack build && concurrently --kill-others \"npm run web:watch\" \"npm run electron:start\"",
"web:watch": "webpack serve",
@ -57,13 +57,13 @@
"publish": [
{
"provider": "github",
"owner": "ThaUnknown",
"repo": "miru"
"owner": "NoCrypt",
"repo": "migu"
}
],
"afterSign": "./buildResources/notarize.js",
"appId": "com.github.thaunknown.miru",
"productName": "Miru",
"appId": "com.github.nocrypt.migu",
"productName": "Migu",
"files": [
"build/**/*",
"!node_modules/**/*.{mk,a,o,h}"
@ -95,7 +95,7 @@
"category": "AudioVideo;Video",
"description": "Bittorrent streaming software for cats",
"desktop": {
"Name": "Miru",
"Name": "Migu",
"Comment": "Bittorrent streaming software for cats",
"Keywords": "anime",
"Type": "Application",

View file

@ -11,7 +11,7 @@ export function onRequest ({ params }) {
<meta http-equiv=refresh content="5; url=https://miru.watch">
<meta property="og:title" content="Watch Together">
<meta property="og:description" content="Stream anime torrents, real-time with no waiting for downloads">
<meta property="og:site_name" content="Miru">
<meta property="og:site_name" content="Migu">
<meta property="og:image" content=https://miru.watch/app_original.png>
<meta property="og:url" content=miru://w2g/${id}>
<meta data-vmid="twitter:card" name="twitter:card" content="summary_large_image">

View file

@ -1,10 +1,10 @@
{
"name": "Miru",
"name": "Migu",
"private": true,
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"author": "NoCrypt <NoCrypt@users.noreply.github.com>",
"description": "Stream anime torrents, real-time with no waiting for downloads.",
"main": "build/main.js",
"homepage": "https://github.com/ThaUnknown/miru#readme",
"homepage": "https://github.com/NoCrypt/migu#readme",
"standard": {
"ignore": [
"bundle.js",