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
| const UID = args.widgetParameter | |
| if (!/^\d+$/.test(UID)) throw new Error('请提供正确的 UID') | |
| let widget = createWidget(await getData(UID)) | |
| if (!config.runsInWidget) { | |
| await widget.presentSmall() | |
| } |
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
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: orange; icon-glyph: quote-right; | |
| // Change these to your usernames! | |
| const user = "spencer" | |
| const jike = "4DDA0425-FB41-4188-89E4-952CA15E3C5E" | |
| const telegram = "realSpencerWoo" | |
| const github = "spencerwooo" |
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
| # See https://github.com/rikumi/iconsur | |
| yarn global add iconsur | |
| sudo iconsur set /Applications/Android\ File\ Transfer.app -k Airdroid | |
| sudo iconsur set /Applications/Android\ Studio.app/ -l -c 7a5 -s 0.8 | |
| sudo iconsur set /Applications/DaisyDisk.app/ -l | |
| sudo iconsur set /Applications/Decompressor.app/ -l | |
| sudo iconsur set /Applications/Discord.app/ | |
| sudo iconsur set /Applications/Google\ Chrome.app/ | |
| sudo iconsur set /Applications/IINA.app/ -l -c 161d22 |