This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "./backup_config.scheme.json", | |
"gameVersion": "4.6.0", | |
"description": "", | |
"copyTasks": [ | |
{ | |
"name": "Base", | |
"dir": "", | |
"items": [ | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#先读我 | |
#脚本需要PowerShell 7.0+环境 在终端中执行命令: `winget install Microsoft.PowerShell` 自动安装PowerShell 7.0+ | |
#configPath为配置文件,配置文件获取地址: https://gist.github.com/LiuQixuan/205c6f4cc38b3a45ccd8d2592155e026 | |
$configPath = "G:\Setup\GenshinImpact\creatDiffPackage\backup_config.json" | |
$startPageData = [PSCustomObject]@{ | |
title = "差异化文件创建脚本" | |
description = "欢迎使用差异化文件创建脚本,请按照提示一步一步操作" | |
gameversion = "检测到当前安装了{0},版本号为{1},路径为{2}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "./config.scheme.json", | |
"gameVersion":"4.6.0", | |
"copyTasks":[ | |
{ | |
"name":"Base", | |
"dir":"./", | |
"items":[ | |
{ | |
"name":"config.ini", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#先读我 | |
#如果有官方启动器则只需要修改$GamePath,$CopyGamePath,$ConfigrationPath,$UpgradePackagePath,$isInternationVersion五项,其他不用动, 脚本启动后不要乱按键盘一定要仔细阅读每一条提示切勿无脑下一步, 否则可能导致升级失败需要重新下载安装整个游戏 | |
#$GamePath 为 游戏完整路径(非启动器路径) | |
#$CopyGamePath 为 游戏 转换目标目录 | |
#$ConfigrationPath 为 游戏 转换配置文件 | |
#$UpgradePackagePath 为 游戏 转换资源包 | |
#$isInternationVersion 为 是否是国际服希望创建官服游戏目录,如果是官服希望创建国际服游戏目录就为$false | |
param( | |
$GamePath = "G:\Games\Genshin Impact\Genshin Impact game", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$deleteFilesPath = ".\deletefiles.txt" | |
$GamePath = "E:\Games\Genshin Impact\Genshin Impact game" | |
$github = "https://gist.github.com/LiuQixuan/2b829d4ebe0039efa1ed7135895c0731" | |
function Protect-Exit([string]$keyValue='.',[string]$addtext=''){ | |
if($addtext -ne ''){ | |
$addtext = "`t" + $addtext | |
} | |
$keyText = '' | |
if($keyValue -eq '.'){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[General] | |
channel=1 | |
cps=mihoyo | |
game_version=4.0.0 | |
sub_channel=1 | |
plugin_7_version=1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#先读我! | |
#$HdiffFilePath 为 升级包 完整路径 | |
#$GamePath 为 游戏完整路径(非启动器路径) | |
#$ToolPath 为 hpatchz.exe 完整路径(如果有官方启动器就填写启动器完整路径,如果没有去该地址下载:https://github.com/sisong/HDiffPatch/releases) | |
param($HdiffFilePath="H:\GameSetup\setup\Genshine Impact\game_2.8.52_2.8.53_hdiff_tODgBJm8uenIGUX5.zip",$GamePath="H:\Games\Genshin Impact\Genshin Impact game") | |
$ToolPath = 'G:\ProgramFiles\hdiffpatch_v4.1.3' | |
$github = "https://gist.github.com/LiuQixuan/1a3810046c1152808fc9d65c699f8d8d" | |
$host.ui.RawUI.WindowTitle = "Install game_hdiff.zip for GenshinImpact" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 从chrome插件市场下载crx文件 | |
// @name:en download crx from chrome extention store | |
// @namespace https://chrome.google.com/ | |
// @version 0.3 | |
// @description 给chrome插件市场页面添加一个下载crx文件的按钮 | |
// @description:en Add a button what click to download crx from chrome extention store | |
// @match https://chrome.google.com/webstore/detail/* | |
// @author Arcret | |
// @license MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 在灵梦御所显示下载链接 | |
// @name:en Show Download info on Reimu.net | |
// @namespace http://reimu.net/ | |
// @version 0.9 | |
// @description 在灵梦御所显示使用pre标签包裹的下载链接 | |
// @description:en Show download info what wrap by pre element on "reimu.net". | |
// @author AIUSoft | |
// @license MIT | |
// @supportURL https://gist.github.com/LiuQixuan/7a8683ede4b885a6df834ceeb933d1c5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##! %Python_Home%/python3 | |
#-*- coding:utf-8 -*- | |
#@Time: 2020-07-01 | |
#@Author: LiuQixuan | |
#@Email: [email protected] | |
#@File: Fraction.py | |
#@Description: Fraction 类为一个支持四则运算的分数类,构造函数接受可变长参数.表示为"分子/分母",仅支持真分 | |
# 数假分数表示,不支持带分数表示. | |
# 参数说明:构造函数可接受单个字符型参数或多个整数浮点字符混合参数,但是最终处理参数不多于一个.无参数时 | |
# 返回自然数1的分数形式.构造参数一般形态{4/5},接受浮点型{5/1.2},{3.4/1.3}, {2.7/3}等出现浮点型时自动 |
NewerOlder