This file contains hidden or 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
| #!/usr/bin/env python3 | |
| import json | |
| import re | |
| from datetime import datetime | |
| from pathlib import Path | |
| SOURCE_FILE = Path("Untitled-1.json") | |
| OUTPUT_FILE = Path("Untitled-1.cleaned.json") |
This file contains hidden or 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
| #!/bin/bash | |
| INPUT="logo.png" | |
| OUTPUT_DIR="build/icons" | |
| # 创建目录 | |
| mkdir -p $OUTPUT_DIR | |
| echo "生成 Linux 图标..." |
This file contains hidden or 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
| #!/bin/bash | |
| INPUT="logo.png" | |
| OUTPUT="icon.ico" | |
| # 检查依赖 | |
| if ! command -v magick &> /dev/null; then | |
| echo "❌ 请先安装 ImageMagick: brew install imagemagick" | |
| exit 1 | |
| fi |
This file contains hidden or 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
| #!/bin/bash | |
| # 输入文件 | |
| INPUT="logo.png" | |
| # 输出目录 | |
| ICONSET="icon.iconset" | |
| OUTPUT="icon.icns" | |
| # 创建目录 |
This file contains hidden or 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
| #!/bin/bash | |
| # 定义需要匹配的关键字 | |
| KEYWORD="release" # 你可以改为你需要的关键字,比如 "fix"、"BREAKING CHANGE" 等 | |
| # 检查是否已经在处理版本更新,避免死循环 | |
| if [ "$SKIP_VERSION_UPDATE" == "true" ]; then | |
| exit 0 | |
| fi |
This file contains hidden or 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
| param( | |
| [string] $InputPath, | |
| [string] $OutputPath, | |
| [string] $Key = "CanvasGame-undressing-key-v1" | |
| ) | |
| Set-StrictMode -Version Latest | |
| $ErrorActionPreference = "Stop" |
This file contains hidden or 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
| """ | |
| SMTC (Shell Media Transport Controls) 封面提取工具 | |
| """ | |
| import asyncio | |
| from datetime import datetime | |
| from pathlib import Path | |
| try: | |
| from winrt.windows.media.control import GlobalSystemMediaTransportControlsSessionManager |
NewerOlder