mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[crosscode] upgrade the "btw I use Arch" mod to ccloader 3
This commit is contained in:
parent
3898112521
commit
4e42db45d6
3 changed files with 7 additions and 13 deletions
7
crosscode/btw-i-use-arch-mod/ccmod.json
Normal file
7
crosscode/btw-i-use-arch-mod/ccmod.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"id": "btw-i-use-arch",
|
||||
"title": "btw I use Arch",
|
||||
"version": "0.0.0",
|
||||
"description": "A mod for masochists like myself",
|
||||
"prestart": "prestart.js"
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"name": "btw I use Arch",
|
||||
"version": "0.0.0",
|
||||
"description": "A mod for masochists like myself",
|
||||
"prestart": "prestart.js",
|
||||
"preload": "preload.js"
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
// I know that this is legacy feature provided by CCLoader way back when mods
|
||||
// weren't executed inside the game iframe's context, but it is useful
|
||||
// nevertheless because console in Chrome's devtools automatically selects
|
||||
// window.top as the execution context by default, so writing `cc.` is faster
|
||||
// than `modloader.frame.contentWindow`
|
||||
window.top.cc = window;
|
Loading…
Reference in a new issue