Thanks to @jogerj and @PrimeCicada for the method! Original script: https://gist.github.com/jogerj/0339e61a92e0de2e360c5212a94854e8
Thanks to @SleepingPanda for 3.8 change info
Open powershell, then copy paste this script:
$code = @" | |
using System; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
public class ClipboardGetter | |
{ | |
#region Win32 Native PInvoke | |
[DllImport("User32.dll", SetLastError = true)] |
Thanks to @jogerj and @PrimeCicada for the method! Original script: https://gist.github.com/jogerj/0339e61a92e0de2e360c5212a94854e8
Thanks to @SleepingPanda for 3.8 change info
Open powershell, then copy paste this script:
Add-Type -AssemblyName System.Web | |
Write-Host "Paimon.moe Wish Importer" -ForegroundColor Cyan | |
Write-Host "1. Open Genshin Impact in this PC" | |
Write-Host "2. Then open the wish history and wait it to load" | |
Write-Host "3. When you are ready press [ENTER] to continue! (or any key to cancel)" | |
Write-Host "Waiting..." | |
$keyInput = [Console]::ReadKey($true).Key | |
if ($keyInput -ne "13") { |
{ | |
"APP_ID": "{{YOUR_APP_ID}}", | |
"APP_SECRET": "{{YOUR_APP_SECRET}}", | |
"JWT_SECRET": "{{YOUR_JWT_SECRET}}" | |
} |