├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── test │ └── test.txt ├── DEPENDENCIES.md ├── Kawariki-patches ├── README.md ├── libs │ ├── PreloadIni.rb │ ├── Win32API.rb │ ├── XP_TilemapOverrideLib.rb │ └── ruby18.rb ├── patches.rb ├── ports │ ├── Advanced-Text-System-.rb │ ├── BasicMouse.rb │ ├── CRDJ_Input.rb │ ├── Glitchfinder_Keyboard_Stub.rb │ ├── Mouse.rb │ ├── TH_EventTriggerLabels.rb │ ├── TH_SimpleAudioEncryption.rb │ ├── XP_CustomResolution.rb │ ├── Zeus_Fullscreen++.rb │ ├── Zeus_Map_Effects.rb │ ├── achievements.rb │ ├── bitmap_tktk.rb │ ├── bitmap_tktkk.rb │ ├── debug │ │ ├── basewt.rb │ │ └── savebitmanwin32api.rb │ ├── dummyAudioUtilities.rb │ ├── dummyPSystem_Utilities.rb │ ├── dummy_Audio_EX2.rb │ ├── lamp.rb │ ├── message_npi.rb │ ├── testencode.rb │ └── wxexittest.rb ├── preload.rb └── versions.json ├── LICENSE ├── README.md ├── install.sh ├── installgithub.sh ├── mkxp-z ├── Kawariki-patches │ ├── README.md │ ├── libs │ │ ├── PreloadIni.rb │ │ ├── Win32API.rb │ │ ├── XP_TilemapOverrideLib.rb │ │ └── ruby18.rb │ ├── patches.rb │ ├── ports │ │ ├── Advanced-Text-System.rb │ │ ├── BasicMouse.rb │ │ ├── CRDJ_Input.rb │ │ ├── Glitchfinder_Keyboard_Stub.rb │ │ ├── Mouse.rb │ │ ├── TH_EventTriggerLabels.rb │ │ ├── TH_SimpleAudioEncryption.rb │ │ ├── XP_CustomResolution.rb │ │ ├── Zeus_Fullscreen++.rb │ │ ├── Zeus_Map_Effects.rb │ │ ├── achievements.rb │ │ ├── bitmap_tktk.rb │ │ ├── bitmap_tktkk.rb │ │ ├── debug │ │ │ ├── basewt.rb │ │ │ └── savebitmanwin32api.rb │ │ ├── dummyAudioUtilities.rb │ │ ├── dummyPSystem_Utilities.rb │ │ ├── dummy_Audio_EX2.rb │ │ ├── tempcheckwarp.rb │ │ ├── testencode.rb │ │ └── wxexittest.rb │ ├── preload.rb │ └── versions.json ├── README.md └── mkxp.json ├── nwjs ├── dwnwjs.sh ├── install.sh ├── nwjs │ ├── cicpoffs │ ├── dwnwjs.sh │ └── packagefiles │ │ ├── libulockmgr.so.1 │ │ ├── nwjs128.png │ │ ├── nwjsstart-cicpoffs.sh │ │ ├── onsyuri │ │ ├── onsyuri │ │ └── umeplus-gothic.ttf │ │ ├── package.json │ │ ├── plugins │ │ ├── Clipboard_llule.js │ │ └── CustomizeMaxSaveFile.js │ │ ├── rpgmaker-linux-steam-wrapper │ │ ├── compatibilitytool.vdf │ │ ├── rpgmaker-linux-cicpoffs-wrapper.sh │ │ └── toolmanifest.vdf │ │ ├── rpgmaker-mv-pixi5 │ │ ├── LICENSE │ │ ├── README.md │ │ └── js │ │ │ ├── jsconfig.json │ │ │ ├── libs │ │ │ ├── fpsmeter.js │ │ │ ├── iphone-inline-video.browser.js │ │ │ ├── lz-string.js │ │ │ ├── pixi-legacy.js │ │ │ ├── pixi-legacy.js.map │ │ │ ├── pixi-legacy.min.js │ │ │ ├── pixi-legacy.min.js.map │ │ │ ├── pixi-picture.js │ │ │ ├── pixi-tilemap.js │ │ │ ├── pixi.js │ │ │ ├── pixi.js.map │ │ │ ├── pixi.min.js │ │ │ └── pixi.min.js.map │ │ │ ├── main.js │ │ │ ├── rmmv-pixi.d.ts │ │ │ ├── rmmv.d.ts │ │ │ ├── rpg_core.js │ │ │ ├── rpg_managers.js │ │ │ ├── rpg_objects.js │ │ │ ├── rpg_scenes.js │ │ │ ├── rpg_sprites.js │ │ │ └── rpg_windows.js │ │ ├── tyranodataextract │ │ └── yad ├── packagefiles │ ├── bugreporter │ ├── evbunpack │ ├── filestoexport │ │ └── start_your_game.sh │ ├── jspatches │ │ ├── bg.js │ │ ├── bg.js.bk │ │ ├── case-insensitive-nw.js │ │ ├── disable-child.js │ │ ├── disable-net.js │ │ ├── injectjsend.js │ │ ├── js-scripts │ │ │ ├── 500slotsCustomizeMaxSaveFile.js │ │ │ ├── CheatMenu_EmerladCoder.js │ │ │ ├── Clipboard_llule.js │ │ │ └── cheatbuttons.js │ │ └── menu.js │ ├── libulockmgr.so.1 │ ├── nwjs128.png │ ├── nwjsstart-cicpoffs.sh │ ├── package.json │ ├── plugins │ │ ├── Clipboard_llule.js │ │ └── CustomizeMaxSaveFile.js │ ├── rpgmaker-linux-steam-wrapper │ │ ├── compatibilitytool.vdf │ │ ├── rpgmaker-linux-cicpoffs-wrapper.sh │ │ └── toolmanifest.vdf │ ├── rpgmaker-mv-pixi5 │ │ ├── LICENSE │ │ ├── README.md │ │ └── js │ │ │ ├── jsconfig.json │ │ │ ├── libs │ │ │ ├── fpsmeter.js │ │ │ ├── iphone-inline-video.browser.js │ │ │ ├── lz-string.js │ │ │ ├── pixi-legacy.js │ │ │ ├── pixi-legacy.js.map │ │ │ ├── pixi-legacy.min.js │ │ │ ├── pixi-legacy.min.js.map │ │ │ ├── pixi-picture.js │ │ │ ├── pixi-tilemap.js │ │ │ ├── pixi.js │ │ │ ├── pixi.js.map │ │ │ ├── pixi.min.js │ │ │ └── pixi.min.js.map │ │ │ ├── main.js │ │ │ ├── rmmv-pixi.d.ts │ │ │ ├── rmmv.d.ts │ │ │ ├── rpg_core.js │ │ │ ├── rpg_managers.js │ │ │ ├── rpg_objects.js │ │ │ ├── rpg_scenes.js │ │ │ ├── rpg_sprites.js │ │ │ └── rpg_windows.js │ ├── strings │ ├── tyranobuilder │ │ ├── node_modules │ │ │ ├── adm-zip │ │ │ │ ├── APPNOTE.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── adm-zip.js │ │ │ │ ├── headers │ │ │ │ │ ├── entryHeader.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── mainHeader.js │ │ │ │ ├── history.md │ │ │ │ ├── methods │ │ │ │ │ ├── deflater.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── inflater.js │ │ │ │ │ └── zipcrypto.js │ │ │ │ ├── package-lock.json │ │ │ │ ├── package.json │ │ │ │ ├── test │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── attributes_test.zip │ │ │ │ │ │ ├── fast.zip │ │ │ │ │ │ ├── fastest.zip │ │ │ │ │ │ ├── issue-237-Twizzeld.zip │ │ │ │ │ │ ├── issue-471-infozip-encrypted.zip │ │ │ │ │ │ ├── large_directory_size.zip │ │ │ │ │ │ ├── linux_arc.zip │ │ │ │ │ │ ├── maximum.zip │ │ │ │ │ │ ├── normal.zip │ │ │ │ │ │ ├── store.zip │ │ │ │ │ │ ├── symlink.zip │ │ │ │ │ │ └── ultra.zip │ │ │ │ │ ├── crc │ │ │ │ │ │ ├── bad_crc.zip │ │ │ │ │ │ ├── good_crc.zip │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── header.js │ │ │ │ │ ├── issue_130 │ │ │ │ │ │ ├── nested │ │ │ │ │ │ │ ├── deeper │ │ │ │ │ │ │ │ └── deeper_file.txt │ │ │ │ │ │ │ └── nested_file.txt │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ └── test.zip │ │ │ │ │ ├── issue_471 │ │ │ │ │ │ └── infozip-password.test.js │ │ │ │ │ ├── large_directory_size │ │ │ │ │ │ └── large_directory_size.test.js │ │ │ │ │ ├── methods │ │ │ │ │ │ └── zipcrypto.test.js │ │ │ │ │ ├── mocha.js │ │ │ │ │ ├── multibyte │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ ├── じっぷ.zip │ │ │ │ │ │ └── じっぷ │ │ │ │ │ │ │ └── じっぷ.txt │ │ │ │ │ └── utils.test.js │ │ │ │ ├── util │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── errors.js │ │ │ │ │ ├── fattr.js │ │ │ │ │ ├── fileSystem.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── utils.js │ │ │ │ ├── zipEntry.js │ │ │ │ └── zipFile.js │ │ │ ├── fs-extra │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── docs │ │ │ │ │ ├── copy-sync.md │ │ │ │ │ ├── copy.md │ │ │ │ │ ├── emptyDir-sync.md │ │ │ │ │ ├── emptyDir.md │ │ │ │ │ ├── ensureDir-sync.md │ │ │ │ │ ├── ensureDir.md │ │ │ │ │ ├── ensureFile-sync.md │ │ │ │ │ ├── ensureFile.md │ │ │ │ │ ├── ensureLink-sync.md │ │ │ │ │ ├── ensureLink.md │ │ │ │ │ ├── ensureSymlink-sync.md │ │ │ │ │ ├── ensureSymlink.md │ │ │ │ │ ├── fs-read-write-writev.md │ │ │ │ │ ├── move-sync.md │ │ │ │ │ ├── move.md │ │ │ │ │ ├── outputFile-sync.md │ │ │ │ │ ├── outputFile.md │ │ │ │ │ ├── outputJson-sync.md │ │ │ │ │ ├── outputJson.md │ │ │ │ │ ├── pathExists-sync.md │ │ │ │ │ ├── pathExists.md │ │ │ │ │ ├── readJson-sync.md │ │ │ │ │ ├── readJson.md │ │ │ │ │ ├── remove-sync.md │ │ │ │ │ ├── remove.md │ │ │ │ │ ├── writeJson-sync.md │ │ │ │ │ └── writeJson.md │ │ │ │ ├── lib │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ └── promise.test.js │ │ │ │ │ ├── copy │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ ├── copy-broken-symlink.test.js │ │ │ │ │ │ │ ├── copy-case-insensitive-paths.test.js │ │ │ │ │ │ │ ├── copy-dev-null.test.js │ │ │ │ │ │ │ ├── copy-gh-89.test.js │ │ │ │ │ │ │ ├── copy-permissions.test.js │ │ │ │ │ │ │ ├── copy-preserve-timestamp.test.js │ │ │ │ │ │ │ ├── copy-prevent-copying-identical.test.js │ │ │ │ │ │ │ ├── copy-prevent-copying-into-itself.test.js │ │ │ │ │ │ │ ├── copy-readonly-dir.test.js │ │ │ │ │ │ │ ├── copy-sync-broken-symlink.test.js │ │ │ │ │ │ │ ├── copy-sync-case-insensitive-paths.test.js │ │ │ │ │ │ │ ├── copy-sync-dir.test.js │ │ │ │ │ │ │ ├── copy-sync-file.test.js │ │ │ │ │ │ │ ├── copy-sync-preserve-timestamp.test.js │ │ │ │ │ │ │ ├── copy-sync-prevent-copying-identical.test.js │ │ │ │ │ │ │ ├── copy-sync-prevent-copying-into-itself.test.js │ │ │ │ │ │ │ ├── copy-sync-readonly-dir.test.js │ │ │ │ │ │ │ ├── copy-sync-symlink.test.js │ │ │ │ │ │ │ ├── copy.test.js │ │ │ │ │ │ │ └── ncp │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ ├── broken-symlink.test.js │ │ │ │ │ │ │ │ ├── fixtures │ │ │ │ │ │ │ │ ├── modified-files │ │ │ │ │ │ │ │ │ ├── out │ │ │ │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ │ └── src │ │ │ │ │ │ │ │ │ │ └── a │ │ │ │ │ │ │ │ └── regular-fixtures │ │ │ │ │ │ │ │ │ ├── out │ │ │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ │ ├── b │ │ │ │ │ │ │ │ │ ├── c │ │ │ │ │ │ │ │ │ ├── d │ │ │ │ │ │ │ │ │ ├── e │ │ │ │ │ │ │ │ │ ├── f │ │ │ │ │ │ │ │ │ └── sub │ │ │ │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ │ └── src │ │ │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ │ ├── b │ │ │ │ │ │ │ │ │ ├── c │ │ │ │ │ │ │ │ │ ├── d │ │ │ │ │ │ │ │ │ ├── e │ │ │ │ │ │ │ │ │ ├── f │ │ │ │ │ │ │ │ │ └── sub │ │ │ │ │ │ │ │ │ ├── a │ │ │ │ │ │ │ │ │ └── b │ │ │ │ │ │ │ │ ├── ncp-error-perm.test.js │ │ │ │ │ │ │ │ ├── ncp.test.js │ │ │ │ │ │ │ │ └── symlink.test.js │ │ │ │ │ │ ├── copy-sync.js │ │ │ │ │ │ ├── copy.js │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── empty │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ ├── empty-dir-sync.test.js │ │ │ │ │ │ │ └── empty-dir.test.js │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── ensure │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ ├── create.test.js │ │ │ │ │ │ │ ├── ensure.test.js │ │ │ │ │ │ │ ├── link.test.js │ │ │ │ │ │ │ ├── symlink-paths.test.js │ │ │ │ │ │ │ ├── symlink-type.test.js │ │ │ │ │ │ │ └── symlink.test.js │ │ │ │ │ │ ├── file.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── link.js │ │ │ │ │ │ ├── symlink-paths.js │ │ │ │ │ │ ├── symlink-type.js │ │ │ │ │ │ └── symlink.js │ │ │ │ │ ├── esm.mjs │ │ │ │ │ ├── fs │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ ├── copyFile.test.js │ │ │ │ │ │ │ ├── fs-integration.test.js │ │ │ │ │ │ │ ├── multi-param.test.js │ │ │ │ │ │ │ ├── mz.test.js │ │ │ │ │ │ │ ├── realpath.test.js │ │ │ │ │ │ │ └── rm.test.js │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── json │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ ├── jsonfile-integration.test.js │ │ │ │ │ │ │ ├── output-json-sync.test.js │ │ │ │ │ │ │ ├── output-json.test.js │ │ │ │ │ │ │ ├── promise-support.test.js │ │ │ │ │ │ │ └── read.test.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── jsonfile.js │ │ │ │ │ │ ├── output-json-sync.js │ │ │ │ │ │ └── output-json.js │ │ │ │ │ ├── mkdirs │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ ├── chmod.test.js │ │ │ │ │ │ │ ├── clobber.test.js │ │ │ │ │ │ │ ├── issue-209.test.js │ │ │ │ │ │ │ ├── issue-93.test.js │ │ │ │ │ │ │ ├── mkdir.test.js │ │ │ │ │ │ │ ├── mkdirp.test.js │ │ │ │ │ │ │ ├── opts-undef.test.js │ │ │ │ │ │ │ ├── perm.test.js │ │ │ │ │ │ │ ├── perm_sync.test.js │ │ │ │ │ │ │ ├── race.test.js │ │ │ │ │ │ │ ├── rel.test.js │ │ │ │ │ │ │ ├── root.test.js │ │ │ │ │ │ │ └── sync.test.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── make-dir.js │ │ │ │ │ │ └── utils.js │ │ │ │ │ ├── move │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ ├── cross-device-utils.js │ │ │ │ │ │ │ ├── move-case-insensitive-paths.test.js │ │ │ │ │ │ │ ├── move-preserve-timestamp.test.js │ │ │ │ │ │ │ ├── move-prevent-moving-identical.test.js │ │ │ │ │ │ │ ├── move-prevent-moving-into-itself.test.js │ │ │ │ │ │ │ ├── move-sync-case-insensitive-paths.test.js │ │ │ │ │ │ │ ├── move-sync-preserve-timestamp.test.js │ │ │ │ │ │ │ ├── move-sync-prevent-moving-identical.test.js │ │ │ │ │ │ │ ├── move-sync-prevent-moving-into-itself.test.js │ │ │ │ │ │ │ ├── move-sync.test.js │ │ │ │ │ │ │ └── move.test.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── move-sync.js │ │ │ │ │ │ └── move.js │ │ │ │ │ ├── output-file │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ └── output.test.js │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── path-exists │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ ├── path-exists-sync.test.js │ │ │ │ │ │ │ └── path-exists.test.js │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── remove │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ │ ├── remove-dir.test.js │ │ │ │ │ │ │ ├── remove-file.test.js │ │ │ │ │ │ │ ├── remove-sync-dir.test.js │ │ │ │ │ │ │ ├── remove-sync-file.test.js │ │ │ │ │ │ │ └── remove.test.js │ │ │ │ │ │ └── index.js │ │ │ │ │ └── util │ │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ ├── stat.test.js │ │ │ │ │ │ └── utimes.test.js │ │ │ │ │ │ ├── stat.js │ │ │ │ │ │ └── utimes.js │ │ │ │ ├── package.json │ │ │ │ ├── test.js │ │ │ │ ├── test.mjs │ │ │ │ └── test │ │ │ │ │ └── readme.md │ │ │ ├── graceful-fs │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── clone.js │ │ │ │ ├── graceful-fs.js │ │ │ │ ├── legacy-streams.js │ │ │ │ ├── package-lock.json │ │ │ │ ├── package.json │ │ │ │ ├── polyfills.js │ │ │ │ ├── test.js │ │ │ │ └── test │ │ │ │ │ ├── chown-er-ok.js │ │ │ │ │ ├── close.js │ │ │ │ │ ├── do-not-break-if-chdir-is-missing.js │ │ │ │ │ ├── enoent.js │ │ │ │ │ ├── max-open.js │ │ │ │ │ ├── monkeypatch-by-accident.js │ │ │ │ │ ├── open.js │ │ │ │ │ ├── read-write-stream.js │ │ │ │ │ ├── readdir-options.js │ │ │ │ │ ├── readdir-sort.js │ │ │ │ │ ├── readfile.js │ │ │ │ │ ├── retry.js │ │ │ │ │ ├── separate-old-stream-names.js │ │ │ │ │ ├── stats-uid-gid.js │ │ │ │ │ ├── stats.js │ │ │ │ │ ├── windows-rename-polyfill.js │ │ │ │ │ ├── write-then-read.js │ │ │ │ │ └── zzz-avoid-memory-leak.js │ │ │ ├── jsonfile │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── appveyor.yml │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── test │ │ │ │ │ ├── read-file-sync.test.js │ │ │ │ │ ├── read-file.test.js │ │ │ │ │ ├── write-file-sync.test.js │ │ │ │ │ └── write-file.test.js │ │ │ │ └── utils.js │ │ │ └── universalify │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── test │ │ │ │ ├── from-callback.js │ │ │ │ └── from-promise.js │ │ ├── package.json │ │ ├── pathches │ │ │ └── tf │ │ │ │ └── main.js │ │ └── tyranoeng │ │ │ ├── LICENCE.txt │ │ │ ├── doc.html │ │ │ ├── index.html │ │ │ ├── package.json │ │ │ ├── readme.txt │ │ │ ├── release │ │ │ ├── compiler-latest │ │ │ │ └── compiler.jar │ │ │ ├── master_tyrano │ │ │ │ └── data │ │ │ │ │ ├── bgimage │ │ │ │ │ ├── room.jpg │ │ │ │ │ └── rouka.jpg │ │ │ │ │ ├── bgm │ │ │ │ │ ├── music.m4a │ │ │ │ │ └── music.ogg │ │ │ │ │ ├── fgimage │ │ │ │ │ ├── builder.png │ │ │ │ │ └── chara │ │ │ │ │ │ ├── akane │ │ │ │ │ │ ├── angry.png │ │ │ │ │ │ ├── doki.png │ │ │ │ │ │ ├── happy.png │ │ │ │ │ │ ├── normal.png │ │ │ │ │ │ └── sad.png │ │ │ │ │ │ └── yamato │ │ │ │ │ │ ├── angry.png │ │ │ │ │ │ ├── happy.png │ │ │ │ │ │ ├── normal.png │ │ │ │ │ │ ├── sad.png │ │ │ │ │ │ └── tohoho.png │ │ │ │ │ ├── image │ │ │ │ │ ├── ExQuestion.png │ │ │ │ │ ├── button │ │ │ │ │ │ ├── Thumbs.db │ │ │ │ │ │ ├── auto.png │ │ │ │ │ │ ├── auto2.png │ │ │ │ │ │ ├── close.png │ │ │ │ │ │ ├── close2.png │ │ │ │ │ │ ├── load.png │ │ │ │ │ │ ├── load2.png │ │ │ │ │ │ ├── log.png │ │ │ │ │ │ ├── log2.png │ │ │ │ │ │ ├── menu.png │ │ │ │ │ │ ├── menu2.png │ │ │ │ │ │ ├── qload.png │ │ │ │ │ │ ├── qload2.png │ │ │ │ │ │ ├── qsave.png │ │ │ │ │ │ ├── qsave2.png │ │ │ │ │ │ ├── save.png │ │ │ │ │ │ ├── save2.png │ │ │ │ │ │ ├── screen.png │ │ │ │ │ │ ├── screen2.png │ │ │ │ │ │ ├── skip.png │ │ │ │ │ │ ├── skip2.png │ │ │ │ │ │ ├── sleep.png │ │ │ │ │ │ ├── sleep2.png │ │ │ │ │ │ ├── title.png │ │ │ │ │ │ └── title2.png │ │ │ │ │ ├── config │ │ │ │ │ │ ├── arrow_next.png │ │ │ │ │ │ ├── arrow_prev.png │ │ │ │ │ │ ├── bg_config.jpg │ │ │ │ │ │ ├── button_unread_off.png │ │ │ │ │ │ ├── button_unread_on.png │ │ │ │ │ │ ├── c_btn.png │ │ │ │ │ │ ├── c_btn_back.png │ │ │ │ │ │ ├── c_btn_back2.png │ │ │ │ │ │ ├── c_set.png │ │ │ │ │ │ ├── c_uts_off.png │ │ │ │ │ │ ├── c_uts_on.png │ │ │ │ │ │ ├── label_cg.png │ │ │ │ │ │ ├── label_config.png │ │ │ │ │ │ ├── label_recollection.png │ │ │ │ │ │ ├── menu_button_close.png │ │ │ │ │ │ ├── menu_button_close2.png │ │ │ │ │ │ └── message_box.png │ │ │ │ │ └── frame.png │ │ │ │ │ ├── scenario │ │ │ │ │ ├── cg.ks │ │ │ │ │ ├── config.ks │ │ │ │ │ ├── first.ks │ │ │ │ │ ├── make.ks │ │ │ │ │ ├── replay.ks │ │ │ │ │ ├── scene1.ks │ │ │ │ │ ├── title.ks │ │ │ │ │ └── tyrano.ks │ │ │ │ │ └── system │ │ │ │ │ ├── Config.tjs │ │ │ │ │ └── KeyConfig.js │ │ │ └── minify.php │ │ │ └── tyrano │ │ │ ├── animate.css │ │ │ ├── audio │ │ │ └── silent.mp3 │ │ │ ├── doc.js │ │ │ ├── font.css │ │ │ ├── html │ │ │ ├── backlog.html │ │ │ ├── load.html │ │ │ ├── menu.html │ │ │ └── save.html │ │ │ ├── images │ │ │ └── system │ │ │ │ ├── arrow_down.png │ │ │ │ ├── arrow_next.png │ │ │ │ ├── arrow_prev.png │ │ │ │ ├── arrow_up.png │ │ │ │ ├── bg_base.png │ │ │ │ ├── bg_config.jpg │ │ │ │ ├── button_menu.png │ │ │ │ ├── label_backlog.png │ │ │ │ ├── label_cg.png │ │ │ │ ├── label_config.png │ │ │ │ ├── label_load.png │ │ │ │ ├── label_menu.png │ │ │ │ ├── label_recollection.png │ │ │ │ ├── label_save.png │ │ │ │ ├── menu_button_close.png │ │ │ │ ├── menu_button_close2.png │ │ │ │ ├── menu_button_load.png │ │ │ │ ├── menu_button_load2.png │ │ │ │ ├── menu_button_save.png │ │ │ │ ├── menu_button_save2.png │ │ │ │ ├── menu_button_skip.png │ │ │ │ ├── menu_button_skip2.png │ │ │ │ ├── menu_button_title.png │ │ │ │ ├── menu_button_title2.png │ │ │ │ ├── menu_message_close.png │ │ │ │ ├── menu_message_close2.png │ │ │ │ ├── nextpage.gif │ │ │ │ ├── noimage.png │ │ │ │ ├── saveslot1.png │ │ │ │ ├── saveslot2.png │ │ │ │ ├── thumbnail_save.png │ │ │ │ └── transparent.png │ │ │ ├── lang.js │ │ │ ├── libs.js │ │ │ ├── libs │ │ │ ├── alertify │ │ │ │ ├── alertify.core.css │ │ │ │ ├── alertify.default.css │ │ │ │ └── alertify.min.js │ │ │ ├── howler.js │ │ │ ├── html2canvas.js │ │ │ ├── jquery-3.4.1.min.js │ │ │ ├── jquery-ui.css │ │ │ ├── jquery-ui.min.js │ │ │ ├── jquery.a3d.js │ │ │ ├── jquery.a3d.min.js │ │ │ ├── jquery.touchSwipe.min.js │ │ │ ├── jsrender.min.js │ │ │ ├── lz-string.min.js │ │ │ ├── remodal │ │ │ │ ├── remodal-default-theme.css │ │ │ │ ├── remodal.css │ │ │ │ └── remodal.js │ │ │ └── textillate │ │ │ │ ├── assets │ │ │ │ ├── animate.css │ │ │ │ ├── jquery.fittext.js │ │ │ │ ├── jquery.lettering.js │ │ │ │ └── style.css │ │ │ │ └── jquery.textillate.js │ │ │ ├── plugins │ │ │ └── kag │ │ │ │ ├── kag.event.js │ │ │ │ ├── kag.js │ │ │ │ ├── kag.key_mouse.js │ │ │ │ ├── kag.layer.js │ │ │ │ ├── kag.menu.js │ │ │ │ ├── kag.parser.js │ │ │ │ ├── kag.rider.js │ │ │ │ ├── kag.studio.js │ │ │ │ ├── kag.tag.js │ │ │ │ ├── kag.tag_audio.js │ │ │ │ ├── kag.tag_camera.js │ │ │ │ ├── kag.tag_ext.js │ │ │ │ └── kag.tag_system.js │ │ │ ├── tyrano.base.js │ │ │ ├── tyrano.css │ │ │ ├── tyrano.js │ │ │ └── tyrano_player.js │ ├── tyranodataextract │ └── yad ├── plugins-autoinstall │ ├── pluginsconf.txt │ └── template-plugins-autoinstall │ │ ├── js │ │ └── plugins │ │ │ └── CustomizeMaxSaveFile.js │ │ └── pluginsconf.txt └── uninstall.sh ├── proversion └── proversion_install.sh ├── uninstall.sh └── uninstallgithub.sh /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Does the game crash at startup?** 32 | If it does, a description of the crash during startup. 33 | 34 | **Do other games launch with the same issue?** 35 | a description of whether the same problem exists with other games. 36 | 37 | **Are you using the compatibility tool to run in the steam platform?** 38 | 39 | **Additional context** 40 | Add any other context about the problem here. 41 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/test/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/.github/test/test.txt -------------------------------------------------------------------------------- /DEPENDENCIES.md: -------------------------------------------------------------------------------- 1 | #### The software uses the following dependencies for RPG Maker MV/MZ: 2 | - [nwjs](https://nwjs.io/) - As the main engine of the game 3 | - [cicpoffs](https://github.com/adlerosn/cicpoffs) - For mounting the game folder in windows Case-Insensitive mode (that allows nwjs better find the game files) 4 | - [evbunpack](https://github.com/mos9527/evbunpack) - For unpacking game files stored in Game.exe (if they are packaged) 5 | - tools such as wget, ln, readlink, grep - For downloading the latest version of nwjs and viewing the files. 6 | 7 | #### Dependencies for tyranobuilder 8 | - [nwjs](https://nwjs.io/) - As the main engine of the game 9 | - [electron 9.4.4](https://github.com/electron/electron/releases/tag/v9.4.4) to run v5 version games of this engine (Optionally) 10 | - python script tyranoextract with these dependencies (asarlib,pefile) 11 | 12 | #### Dependencies for RPG Maker XP / VX / VX Ace (There is limited support) (Beta test) 13 | - [mkxp-z](https://github.com/mkxp-z/mkxp-z) - Open-source cross-platform player for (some) RPG Maker XP / VX / VX Ace games. A very heavily modified fork of mkxp. RGSS on steroids with a stupid name. (May have limited support for games, due to win32api in plugins) (Optionally) 14 | 15 | #### Dependencies for Godot engine 16 | - wget (Required to download SDK, once download is done the linux port is complete (works even with embedded pck files)). 17 | -------------------------------------------------------------------------------- /Kawariki-patches/ports/Zeus_Fullscreen++.rb: -------------------------------------------------------------------------------- 1 | # Zeus81 Fullscreen++ MKXP API Shim 2 | # Authors: Taeyeon Mori 3 | 4 | Preload.require 'PreloadIni.rb' 5 | 6 | # Fullscreen++ v2.2 for VX and VXace by Zeus81 7 | # Free for non commercial and commercial use 8 | # Licence : http://creativecommons.org/licenses/by-sa/3.0/ 9 | # Contact : zeusex81@gmail.com 10 | # (fr) Manuel d'utilisation : http://pastebin.com/raw.php?i=1TQfMnVJ 11 | # (en) User Guide : http://pastebin.com/raw.php?i=EgnWt9ur 12 | 13 | $imported ||= {} 14 | $imported[:Zeus_Fullscreen] = __FILE__ 15 | 16 | class << Graphics 17 | Disable_VX_Fullscreen = true 18 | 19 | unless method_defined?(:zeus_fullscreen_update) 20 | alias zeus_fullscreen_update update 21 | end 22 | 23 | def load_fullscreen_settings 24 | fullscreen = (Preload::Ini.readIniString('./Game.ini', 'Fullscreen++', 'Fullscreen') || '0') == '1' 25 | end 26 | def save_fullscreen_settings 27 | Preload::Ini.writeIniString('./Game.ini', 'Fullscreen++', 'Fullscreen', fullscreen ? '1' : '0') 28 | end 29 | 30 | def fullscreen? 31 | fullscreen 32 | end 33 | def vx_fullscreen? 34 | false 35 | end 36 | def toggle_fullscreen 37 | fullscreen = !fullscreen 38 | end 39 | def toggle_vx_fullscreen 40 | end 41 | def vx_fullscreen_mode 42 | end 43 | def fullscreen_mode 44 | fullscreen = true 45 | end 46 | def windowed_mode 47 | fullscreen = false 48 | end 49 | def toggle_ratio 50 | end 51 | def ratio 52 | 1 53 | end 54 | def ratio=(r) 55 | end 56 | def update 57 | zeus_fullscreen_update 58 | toggle_fullscreen if Input.trigger?(Input::F5) 59 | end 60 | end 61 | Graphics.load_fullscreen_settings -------------------------------------------------------------------------------- /Kawariki-patches/versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../versions.schema.json", 3 | "format": 2, 4 | "name": "mkxp", 5 | "common": { 6 | "slug": "{variant}-{version!v}-{platform}" 7 | }, 8 | "versions": [ 9 | { 10 | "variant": "mkxp-z", 11 | "version": [2, 4, 0], 12 | "platforms": ["linux-x86_64"], 13 | "binary": "mkxp-z", 14 | "url": "https://github.com/Orochimarufan/Kawariki/releases/download/mkxp-2.3.0-kk/mkxp-z-{version!v}-{platform}.tar.xz" 15 | }, 16 | { 17 | "variant": "mkxp-z", 18 | "version": [2, 3, 1], 19 | "platforms": ["linux-x86_64"], 20 | "binary": "mkxp-z.x86_64", 21 | "url": "https://github.com/Orochimarufan/Kawariki/releases/download/mkxp-2.3.0-kk/mkxp-z_2.3.1_x64.tar.xz" 22 | }, 23 | { 24 | "variant": "mkxp-z", 25 | "version": [2, 3, 0], 26 | "platforms": ["linux-x86_64"], 27 | "binary": "mkxp-z.x86_64", 28 | "url": "https://github.com/Orochimarufan/Kawariki/releases/download/mkxp-2.3.0-kk/mkxp-z_2.3.0_x64.tar.xz" 29 | } 30 | ] 31 | } -------------------------------------------------------------------------------- /installgithub.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | archt=$(uname -m | sed -e 's/armv7l/armhf/g') 4 | version=1.1.6 5 | versionpro=1.1.6 6 | 7 | ITCHIOFILEPATH="$HOME/.config/itchiokey.txt" 8 | 9 | savekey() { 10 | echo "$1" > "$ITCHIOFILEPATH" 11 | } 12 | 13 | 14 | if [ -f "$ITCHIOFILEPATH" ] && [ -s "$ITCHIOFILEPATH" ]; then 15 | ITCH_API_KEY=$(cat "$ITCHIOFILEPATH") 16 | fi 17 | 18 | if [ -n "$ITCH_API_KEY" ]; then 19 | echo "Installing the professional version" 20 | itchjson=$(wget -qO- "https://api.itch.io/games/2577304/uploads?api_key=$ITCH_API_KEY") 21 | if [ -z "$itchjson" ]; then 22 | echo "Cannot get data from server, wrong itch.io key?" 23 | exit 1 24 | else 25 | echo "$apikey" > "$ITCHIOFILEPATH" 26 | fi 27 | savekey "$ITCH_API_KEY" 28 | itchdata=$(echo "$itchjson" | sed -e 's@"traits"@\n@g' | grep "$archt") 29 | itchid=$(echo "$itchdata" | sed -e 's@.*,"id":@@g' -e 's@,.*@@g') 30 | basenametar=$(echo "$itchdata" | sed -e 's@.*"filename":"@@g' -e 's@".*@@g') 31 | dirtarname=$(echo "$basenametar" | sed -e 's@.tar.gz@@g') 32 | wget "https://api.itch.io/uploads/$itchid/download?api_key=$ITCH_API_KEY" -O "/tmp/$basenametar" 33 | 34 | else 35 | echo "Installing the base version" 36 | link="https://github.com/bakustarver/rpgmakermlinux-cicpoffs/releases/download/v$version/rpgmakerlinux-$archt-v$version.tar.gz" 37 | 38 | basenametar=$(basename "$link") 39 | dirtarname=$(echo "$basenametar" | sed -e 's@.tar.gz@@g') 40 | wget -P "/tmp/" "$link" 41 | fi 42 | tar -xf "/tmp/$basenametar" -C "/tmp/" 43 | /tmp/$dirtarname/install.sh 44 | rm "/tmp/$basenametar" 45 | -------------------------------------------------------------------------------- /mkxp-z/Kawariki-patches/ports/Zeus_Fullscreen++.rb: -------------------------------------------------------------------------------- 1 | # Zeus81 Fullscreen++ MKXP API Shim 2 | # Authors: Taeyeon Mori 3 | 4 | Preload.require 'PreloadIni.rb' 5 | 6 | # Fullscreen++ v2.2 for VX and VXace by Zeus81 7 | # Free for non commercial and commercial use 8 | # Licence : http://creativecommons.org/licenses/by-sa/3.0/ 9 | # Contact : zeusex81@gmail.com 10 | # (fr) Manuel d'utilisation : http://pastebin.com/raw.php?i=1TQfMnVJ 11 | # (en) User Guide : http://pastebin.com/raw.php?i=EgnWt9ur 12 | 13 | $imported ||= {} 14 | $imported[:Zeus_Fullscreen] = __FILE__ 15 | 16 | class << Graphics 17 | Disable_VX_Fullscreen = true 18 | 19 | unless method_defined?(:zeus_fullscreen_update) 20 | alias zeus_fullscreen_update update 21 | end 22 | 23 | def load_fullscreen_settings 24 | fullscreen = (Preload::Ini.readIniString('./Game.ini', 'Fullscreen++', 'Fullscreen') || '0') == '1' 25 | end 26 | def save_fullscreen_settings 27 | Preload::Ini.writeIniString('./Game.ini', 'Fullscreen++', 'Fullscreen', fullscreen ? '1' : '0') 28 | end 29 | 30 | def fullscreen? 31 | fullscreen 32 | end 33 | def vx_fullscreen? 34 | false 35 | end 36 | def toggle_fullscreen 37 | fullscreen = !fullscreen 38 | end 39 | def toggle_vx_fullscreen 40 | end 41 | def vx_fullscreen_mode 42 | end 43 | def fullscreen_mode 44 | fullscreen = true 45 | end 46 | def windowed_mode 47 | fullscreen = false 48 | end 49 | def toggle_ratio 50 | end 51 | def ratio 52 | 1 53 | end 54 | def ratio=(r) 55 | end 56 | def update 57 | zeus_fullscreen_update 58 | toggle_fullscreen if Input.trigger?(Input::F5) 59 | end 60 | end 61 | Graphics.load_fullscreen_settings -------------------------------------------------------------------------------- /mkxp-z/Kawariki-patches/versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../versions.schema.json", 3 | "format": 2, 4 | "name": "mkxp", 5 | "common": { 6 | "slug": "{variant}-{version!v}-{platform}" 7 | }, 8 | "versions": [ 9 | { 10 | "variant": "mkxp-z", 11 | "version": [2, 4, 0], 12 | "platforms": ["linux-x86_64"], 13 | "binary": "mkxp-z", 14 | "url": "https://github.com/Orochimarufan/Kawariki/releases/download/mkxp-2.3.0-kk/mkxp-z-{version!v}-{platform}.tar.xz" 15 | }, 16 | { 17 | "variant": "mkxp-z", 18 | "version": [2, 3, 1], 19 | "platforms": ["linux-x86_64"], 20 | "binary": "mkxp-z.x86_64", 21 | "url": "https://github.com/Orochimarufan/Kawariki/releases/download/mkxp-2.3.0-kk/mkxp-z_2.3.1_x64.tar.xz" 22 | }, 23 | { 24 | "variant": "mkxp-z", 25 | "version": [2, 3, 0], 26 | "platforms": ["linux-x86_64"], 27 | "binary": "mkxp-z.x86_64", 28 | "url": "https://github.com/Orochimarufan/Kawariki/releases/download/mkxp-2.3.0-kk/mkxp-z_2.3.0_x64.tar.xz" 29 | } 30 | ] 31 | } -------------------------------------------------------------------------------- /mkxp-z/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /nwjs/nwjs/cicpoffs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/nwjs/cicpoffs -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/libulockmgr.so.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/nwjs/packagefiles/libulockmgr.so.1 -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/nwjs128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/nwjs/packagefiles/nwjs128.png -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/onsyuri/onsyuri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/nwjs/packagefiles/onsyuri/onsyuri -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/onsyuri/umeplus-gothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/nwjs/packagefiles/onsyuri/umeplus-gothic.ttf -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RPG Maker MV/MZ (cicpoffs mount)", 3 | "main": "www/index.html", 4 | "js-flags": "--expose-gc", 5 | "chromium-args": "--enable-webgl --ignore-gpu-blacklist --disable-setuid-sandbox-enable --force-gpu-rasterization --enable-gpu-memory-buffer-video-frames --enable-native-gpu-memory-buffers --enable-zero-copy --enable-gpu-async-worker-context --disable-password-generation", 6 | "window": { 7 | "title": "RPG Maker MV/MZ (cicpoffs mount)", 8 | "toolbar": false, 9 | "width": 745, 10 | "height": 400, 11 | "icon": "www/icon/icon.png" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/rpgmaker-linux-steam-wrapper/compatibilitytool.vdf: -------------------------------------------------------------------------------- 1 | "compatibilitytools" 2 | { 3 | "compat_tools" 4 | { 5 | "rpgmaker-linux-cicpoffs" // Internal name of this tool 6 | { 7 | "install_path" "." 8 | "display_name" "RPG Maker MV/MZ (cicpoffs mount) Tool" 9 | "from_oslist" "windows" 10 | "to_oslist" "linux" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/rpgmaker-linux-steam-wrapper/rpgmaker-linux-cicpoffs-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ ! -z "${LD_PRELOAD}" ]]; then 4 | echo "LD_PRELOAD found with $LD_PRELOAD" 5 | export ORIGINAL_LD_PRELOAD="$LD_PRELOAD" 6 | export LD_PRELOAD="" 7 | # export PATH="" 8 | fi 9 | # 10 | # DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 11 | 12 | if [[ $2 == *"iscriptevaluator.exe"* ]]; then 13 | echo "ignoring iscriptevaluator.exe" 14 | exit 0 15 | fi 16 | 17 | export LC_ALL="" 18 | startset=$(echo "$@" | sed -e 's@waitforexitandrun @@g' -e 's@ --in-process-gpu@@g') 19 | export gamef=$(dirname "$startset") 20 | 21 | xdg-open "rpgmakermp:///$gamef" 22 | -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/rpgmaker-linux-steam-wrapper/toolmanifest.vdf: -------------------------------------------------------------------------------- 1 | "manifest" 2 | { 3 | "version" "2" 4 | "commandline" "/rpgmaker-linux-cicpoffs-wrapper.sh %verb%" 5 | "use_sessions" "1" 6 | } 7 | -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/rpgmaker-mv-pixi5/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Scott Atkins 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/rpgmaker-mv-pixi5/js/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target":"es6" 4 | }, 5 | "files": [ 6 | "./rmmv.d.ts", 7 | "./rmmv-pixi.d.ts" 8 | ], 9 | "include": [ 10 | "./*", 11 | "./plugins_dev/*.js", 12 | "./plugins/*.js" 13 | ] 14 | } -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/rpgmaker-mv-pixi5/js/main.js: -------------------------------------------------------------------------------- 1 | //============================================================================= 2 | // main.js 3 | //============================================================================= 4 | 5 | PluginManager.setup($plugins); 6 | 7 | window.onload = function() { 8 | SceneManager.run(Scene_Boot); 9 | }; 10 | -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/tyranodataextract: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/nwjs/packagefiles/tyranodataextract -------------------------------------------------------------------------------- /nwjs/nwjs/packagefiles/yad: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/nwjs/packagefiles/yad -------------------------------------------------------------------------------- /nwjs/packagefiles/bugreporter: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/bugreporter -------------------------------------------------------------------------------- /nwjs/packagefiles/evbunpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/evbunpack -------------------------------------------------------------------------------- /nwjs/packagefiles/filestoexport/start_your_game.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | export LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" 5 | 6 | cicpoffs=lib/cicpoffs 7 | 8 | startnw() { 9 | if [[ "$XDG_SESSION_TYPE" == "wayland" ]]; then 10 | echo "wayland detected" 11 | "./nw" --ozone-platform=wayland 12 | else 13 | echo "wayland not detected, starting in x11" 14 | "./nw" --ozone-platform=x11 15 | fi 16 | } 17 | 18 | if [ -f "lib/cicpoffs" ]; then 19 | echo "$cicpoffs" www-case www 20 | "$cicpoffs" www-case www 21 | 22 | SECONDS=0; 23 | while ! [ -d "./www/js" ]; do 24 | 25 | sleep 1 26 | echo Mounting the folder: Time passed $SECONDS seconds; 27 | done 28 | echo -e "Mounting done. 29 | Total time: $SECONDS seconds" 30 | else 31 | echo "Unable to find the cicpoffs" 32 | fi 33 | 34 | if [ -f "nw" ]; then 35 | 36 | # ./nw 37 | startnw 38 | else 39 | echo "Unable to find the nwjs" 40 | fi 41 | 42 | fusermount -u "www" 43 | -------------------------------------------------------------------------------- /nwjs/packagefiles/jspatches/disable-child.js: -------------------------------------------------------------------------------- 1 | // disable-child.js 2 | // Guard against requiring or using child_process in any way. 3 | global.execDisabled = true; 4 | const Module = require("module"); 5 | const origRequire = Module.prototype.require; 6 | 7 | function showPopup(msg) { 8 | try { 9 | if (typeof window !== "undefined") { 10 | alert(msg); 11 | console.error(msg); 12 | } else { 13 | console.error(msg); 14 | } 15 | } catch (e) { 16 | console.error("Popup failed:", e); 17 | } 18 | } 19 | 20 | Module.prototype.require = function (id) { 21 | if (id === "child_process" || id === "node:child_process") { 22 | showPopup("⚠️ Attempt to load child_process was blocked!"); 23 | throw new Error("child_process is disabled in this runtime"); 24 | } 25 | return origRequire.apply(this, arguments); 26 | }; 27 | 28 | // If anything already obtained a reference, neuter the methods. 29 | try { 30 | const cp = origRequire.call({}, "node:child_process"); 31 | for (const k of ["exec", "execFile", "spawn", "fork", "spawnSync", "execSync", "execFileSync"]) { 32 | if (k in cp) { 33 | cp[k] = function () { 34 | showPopup("⚠️ Attempt to use child_process." + k + "() was blocked!"); 35 | throw new Error("child_process is disabled"); 36 | }; 37 | } 38 | } 39 | } catch (_) { 40 | /* ignore if loading itself throws */ 41 | } 42 | -------------------------------------------------------------------------------- /nwjs/packagefiles/jspatches/injectjsend.js: -------------------------------------------------------------------------------- 1 | const fsfunc = require('fs'); 2 | const pathfunc = require('path'); 3 | 4 | const baseDir = process.env.mainfd 5 | 6 | const newpath = pathfunc.join(scriptsjsDir, 'menu.js'); 7 | 8 | const scriptContent = fsfunc.readFileSync(newpath, 'utf8'); 9 | 10 | eval(scriptContent); 11 | 12 | 13 | -------------------------------------------------------------------------------- /nwjs/packagefiles/libulockmgr.so.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/libulockmgr.so.1 -------------------------------------------------------------------------------- /nwjs/packagefiles/nwjs128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/nwjs128.png -------------------------------------------------------------------------------- /nwjs/packagefiles/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RPG Maker MV/MZ (cicpoffs mount)", 3 | "main": "www/index.html", 4 | "js-flags": "--expose-gc", 5 | "inject_js_start": "packagefiles/jspatches/bg.js", 6 | "chromium-args": "--enable-webgl --ignore-gpu-blacklist --force-gpu-rasterization --enable-gpu-memory-buffer-video-frames --enable-native-gpu-memory-buffers --enable-zero-copy --enable-gpu-async-worker-context --disable-password-generation --enable-logging=stderr", 7 | "inject_js_end": "packagefiles/jspatches/injectjsend.js", 8 | "window": { 9 | "title": "RPG Maker MV/MZ (cicpoffs mount)", 10 | "toolbar": false, 11 | "width": 745, 12 | "height": 400, 13 | "icon": "www/icon/icon.png" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /nwjs/packagefiles/rpgmaker-linux-steam-wrapper/compatibilitytool.vdf: -------------------------------------------------------------------------------- 1 | "compatibilitytools" 2 | { 3 | "compat_tools" 4 | { 5 | "rpgmaker-linux-cicpoffs" // Internal name of this tool 6 | { 7 | "install_path" "." 8 | "display_name" "RPG Maker MV/MZ (cicpoffs mount) Tool" 9 | "from_oslist" "windows" 10 | "to_oslist" "linux" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /nwjs/packagefiles/rpgmaker-linux-steam-wrapper/rpgmaker-linux-cicpoffs-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ ! -z "${LD_PRELOAD}" ]]; then 4 | echo "LD_PRELOAD found with $LD_PRELOAD" 5 | export ORIGINAL_LD_PRELOAD="$LD_PRELOAD" 6 | export LD_PRELOAD="" 7 | # export PATH="" 8 | fi 9 | export LD_LIBRARY_PATH="" 10 | # DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 11 | 12 | if [[ $2 == *"iscriptevaluator.exe"* ]]; then 13 | echo "ignoring iscriptevaluator.exe" 14 | exit 0 15 | fi 16 | if [ -z "$SteamAppId" ]; then 17 | echo "no steam app id, exiting" 18 | exit 0 19 | fi 20 | 21 | 22 | export LC_ALL="" 23 | startset=$(echo "$@" | sed -e 's@waitforexitandrun @@g' -e 's@ --in-process-gpu@@g') 24 | export gamef=$(dirname "$startset") 25 | 26 | # zenity --error --text "$gamef" 27 | 28 | if [ -f "$HOME/desktopapps/nwjs/nwjs/packagefiles/nwjsstart-cicpoffs.sh" ]; then 29 | $HOME/desktopapps/nwjs/nwjs/packagefiles/nwjsstart-cicpoffs.sh --gui 30 | else 31 | ##steam's xgd-open stopped working, using default 32 | NEWPATH=$(echo "$PATH" | tr ':' '\n' | grep -v "steam-run" | tr '\n' ':') 33 | export PATH=$NEWPATH 34 | xdg-open "rpgmakermp:///$gamef" 35 | fi 36 | -------------------------------------------------------------------------------- /nwjs/packagefiles/rpgmaker-linux-steam-wrapper/toolmanifest.vdf: -------------------------------------------------------------------------------- 1 | "manifest" 2 | { 3 | "version" "2" 4 | "commandline" "/rpgmaker-linux-cicpoffs-wrapper.sh %verb%" 5 | "use_sessions" "1" 6 | } 7 | -------------------------------------------------------------------------------- /nwjs/packagefiles/rpgmaker-mv-pixi5/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Scott Atkins 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /nwjs/packagefiles/rpgmaker-mv-pixi5/js/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target":"es6" 4 | }, 5 | "files": [ 6 | "./rmmv.d.ts", 7 | "./rmmv-pixi.d.ts" 8 | ], 9 | "include": [ 10 | "./*", 11 | "./plugins_dev/*.js", 12 | "./plugins/*.js" 13 | ] 14 | } -------------------------------------------------------------------------------- /nwjs/packagefiles/rpgmaker-mv-pixi5/js/main.js: -------------------------------------------------------------------------------- 1 | //============================================================================= 2 | // main.js 3 | //============================================================================= 4 | 5 | PluginManager.setup($plugins); 6 | 7 | window.onload = function() { 8 | SceneManager.run(Scene_Boot); 9 | }; 10 | -------------------------------------------------------------------------------- /nwjs/packagefiles/strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/strings -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2012 Another-D-Mention Software and other contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/headers/index.js: -------------------------------------------------------------------------------- 1 | exports.EntryHeader = require("./entryHeader"); 2 | exports.MainHeader = require("./mainHeader"); 3 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/methods/deflater.js: -------------------------------------------------------------------------------- 1 | module.exports = function (/*Buffer*/ inbuf) { 2 | var zlib = require("zlib"); 3 | 4 | var opts = { chunkSize: (parseInt(inbuf.length / 1024) + 1) * 1024 }; 5 | 6 | return { 7 | deflate: function () { 8 | return zlib.deflateRawSync(inbuf, opts); 9 | }, 10 | 11 | deflateAsync: function (/*Function*/ callback) { 12 | var tmp = zlib.createDeflateRaw(opts), 13 | parts = [], 14 | total = 0; 15 | tmp.on("data", function (data) { 16 | parts.push(data); 17 | total += data.length; 18 | }); 19 | tmp.on("end", function () { 20 | var buf = Buffer.alloc(total), 21 | written = 0; 22 | buf.fill(0); 23 | for (var i = 0; i < parts.length; i++) { 24 | var part = parts[i]; 25 | part.copy(buf, written); 26 | written += part.length; 27 | } 28 | callback && callback(buf); 29 | }); 30 | tmp.end(inbuf); 31 | } 32 | }; 33 | }; 34 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/methods/index.js: -------------------------------------------------------------------------------- 1 | exports.Deflater = require("./deflater"); 2 | exports.Inflater = require("./inflater"); 3 | exports.ZipCrypto = require("./zipcrypto"); 4 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/methods/inflater.js: -------------------------------------------------------------------------------- 1 | const version = +(process.versions ? process.versions.node : "").split(".")[0] || 0; 2 | 3 | module.exports = function (/*Buffer*/ inbuf, /*number*/ expectedLength) { 4 | var zlib = require("zlib"); 5 | const option = version >= 15 ? { maxOutputLength: expectedLength } : {}; 6 | 7 | return { 8 | inflate: function () { 9 | return zlib.inflateRawSync(inbuf, option); 10 | }, 11 | 12 | inflateAsync: function (/*Function*/ callback) { 13 | var tmp = zlib.createInflateRaw(option), 14 | parts = [], 15 | total = 0; 16 | tmp.on("data", function (data) { 17 | parts.push(data); 18 | total += data.length; 19 | }); 20 | tmp.on("end", function () { 21 | var buf = Buffer.alloc(total), 22 | written = 0; 23 | buf.fill(0); 24 | for (var i = 0; i < parts.length; i++) { 25 | var part = parts[i]; 26 | part.copy(buf, written); 27 | written += part.length; 28 | } 29 | callback && callback(buf); 30 | }); 31 | tmp.end(inbuf); 32 | } 33 | }; 34 | }; 35 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "adm-zip", 3 | "version": "0.5.13", 4 | "description": "Javascript implementation of zip for nodejs with support for electron original-fs. Allows user to create or extract zip files both in memory or to/from disk", 5 | "scripts": { 6 | "test": "mocha -R spec", 7 | "test:format": "npm run format:prettier:raw -- --check", 8 | "format": "npm run format:prettier", 9 | "format:prettier": "npm run format:prettier:raw -- --write", 10 | "format:prettier:raw": "prettier \"**/*.{js,yml,json}\"" 11 | }, 12 | "keywords": [ 13 | "zip", 14 | "methods", 15 | "archive", 16 | "unzip" 17 | ], 18 | "homepage": "https://github.com/cthackers/adm-zip", 19 | "author": "Nasca Iacob (https://github.com/cthackers)", 20 | "bugs": { 21 | "email": "sy@another-d-mention.ro", 22 | "url": "https://github.com/cthackers/adm-zip/issues" 23 | }, 24 | "license": "MIT", 25 | "files": [ 26 | "adm-zip.js", 27 | "headers", 28 | "methods", 29 | "util", 30 | "zipEntry.js", 31 | "zipFile.js", 32 | "LICENSE" 33 | ], 34 | "main": "adm-zip.js", 35 | "repository": { 36 | "type": "git", 37 | "url": "https://github.com/cthackers/adm-zip.git" 38 | }, 39 | "engines": { 40 | "node": ">=12.0" 41 | }, 42 | "devDependencies": { 43 | "chai": "^4.3.4", 44 | "mocha": "^10.2.0", 45 | "prettier": "^2.2.1", 46 | "rimraf": "^3.0.2" 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/attributes_test.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/attributes_test.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/fast.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/fast.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/fastest.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/fastest.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/issue-237-Twizzeld.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/issue-237-Twizzeld.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/issue-471-infozip-encrypted.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/issue-471-infozip-encrypted.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/large_directory_size.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/large_directory_size.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/linux_arc.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/linux_arc.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/maximum.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/maximum.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/normal.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/normal.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/store.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/store.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/symlink.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/symlink.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/ultra.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/assets/ultra.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/crc/bad_crc.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/crc/bad_crc.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/crc/good_crc.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/crc/good_crc.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/issue_130/nested/deeper/deeper_file.txt: -------------------------------------------------------------------------------- 1 | deeper -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/issue_130/nested/nested_file.txt: -------------------------------------------------------------------------------- 1 | nested -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/issue_130/test.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | (function () { 4 | var fs = require("fs"); 5 | var path = require("path"); 6 | var Zip = require("../../adm-zip"); 7 | 8 | // init the final zip file 9 | var writeZip = new Zip(); 10 | 11 | // file in root folder 12 | writeZip.addFile("root_file.txt", "root"); 13 | 14 | // add folder 15 | writeZip.addFile("sub/", Buffer.alloc(0)); 16 | 17 | // file in sub folder 18 | writeZip.addFile("sub/sub_file.txt", "sub"); 19 | 20 | // files from local folder 21 | writeZip.addLocalFolder("nested", "nested"); 22 | 23 | // write to disk 24 | writeZip.writeZip("test.zip"); 25 | 26 | // read zip from disk 27 | var readZip = new Zip("test.zip"); 28 | 29 | // unpack everything 30 | readZip.extractAllTo("unzipped", true); 31 | 32 | // assert the files 33 | var assert = function (content, expectedContent, errMsg) { 34 | if (content !== expectedContent) { 35 | throw new Error(errMsg); 36 | } 37 | }; 38 | 39 | var fileRoot = fs.readFileSync(path.join("unzipped", "root_file.txt"), "utf8"); 40 | assert(fileRoot, "root", "root file not correct"); 41 | 42 | var fileSub = fs.readFileSync(path.join("unzipped", "sub", "sub_file.txt"), "utf8"); 43 | assert(fileSub, "sub", "sub file not correct"); 44 | 45 | var fileNested = fs.readFileSync(path.join("unzipped", "nested", "nested_file.txt"), "utf8"); 46 | assert(fileNested, "nested", "nested file not correct"); 47 | 48 | var fileDeeper = fs.readFileSync(path.join("unzipped", "nested", "deeper", "deeper_file.txt"), "utf8"); 49 | assert(fileDeeper, "deeper", "deeper file not correct"); 50 | })(); 51 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/issue_130/test.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/issue_130/test.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/issue_471/infozip-password.test.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | // Tests for github issue 471: https://github.com/cthackers/adm-zip/issues/471 4 | 5 | const assert = require("assert"); 6 | const path = require("path"); 7 | const Zip = require("../../adm-zip"); 8 | 9 | describe("decryption with info-zip spec password check", () => { 10 | // test decryption with both password types 11 | it("test decrypted data with password", () => { 12 | // the issue-471-infozip-encrypted.zip file has been generated with Info-Zip Zip 2.32, but the Info-Zip 13 | // standard is used by other zip generators as well. 14 | const infoZip = new Zip(path.join(__dirname, "../assets/issue-471-infozip-encrypted.zip")); 15 | const entries = infoZip.getEntries(); 16 | assert(entries.length === 1, "Good: Test archive contains exactly 1 file"); 17 | 18 | const testFile = entries.filter(function (entry) { 19 | return entry.entryName === "dummy.txt"; 20 | }); 21 | assert(testFile.length === 1, "Good: dummy.txt file exists as archive entry"); 22 | 23 | const readData = entries[0].getData("secret"); 24 | assert(readData.toString("utf8").startsWith("How much wood could a woodchuck chuck"), "Good: buffer matches expectations"); 25 | 26 | // assert that the following call throws an exception 27 | assert.throws(() => { 28 | const readDataBad = entries[0].getData("badpassword"); 29 | }, "Good: error thrown for bad password"); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/large_directory_size/large_directory_size.test.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | const assert = require("assert"); 4 | const path = require("path"); 5 | const Zip = require("../../adm-zip"); 6 | 7 | describe("read zip file header with invalid large number of entries", () => { 8 | it("throws too large error", () => { 9 | // this zip file reports 2147483648 disk entry count which is impossible 10 | const zip = new Zip(path.join(__dirname, "../assets/large_directory_size.zip")); 11 | // assert that the following call throws an exception 12 | assert.throws(() => { 13 | zip.getEntries(); 14 | }, new Error("Number of disk entries is too large")); 15 | }); 16 | }); 17 | 18 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/multibyte/test.js: -------------------------------------------------------------------------------- 1 | const { expect } = require("chai"); 2 | const Utils = require("../../util"); 3 | const AdmZip = require("../../adm-zip"); 4 | const path = require("path"); 5 | 6 | describe("adm-zip", () => { 7 | it("adds multibyte ZIP comment in UTF-8 with appropriate byte", () => { 8 | const zip = new AdmZip(); 9 | zip.addLocalFile(path.join(__dirname, "./じっぷ/じっぷ.txt")); 10 | zip.addZipComment("じっぷ"); 11 | const willSend = zip.toBuffer(); 12 | const end = willSend.slice(willSend.lastIndexOf(Utils.Constants.ENDSIG)); 13 | const commentLength = end.readInt16LE(Utils.Constants.ENDCOM, 2); 14 | expect(commentLength).to.eq(9); 15 | const expected = Buffer.from("じっぷ"); 16 | const actual = end.slice(Utils.Constants.ENDCOM + 2); 17 | expect(actual).to.include(expected); 18 | expect(expected).to.include(actual); 19 | }); 20 | }); 21 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/multibyte/じっぷ.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/multibyte/じっぷ.zip -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/test/multibyte/じっぷ/じっぷ.txt: -------------------------------------------------------------------------------- 1 | じっぷ 2 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/util/fileSystem.js: -------------------------------------------------------------------------------- 1 | exports.require = function () { 2 | if (typeof process === "object" && process.versions && process.versions["electron"]) { 3 | try { 4 | const originalFs = require("original-fs"); 5 | if (Object.keys(originalFs).length > 0) { 6 | return originalFs; 7 | } 8 | } catch (e) {} 9 | } 10 | return require("fs"); 11 | }; 12 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/adm-zip/util/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./utils"); 2 | module.exports.Constants = require("./constants"); 3 | module.exports.Errors = require("./errors"); 4 | module.exports.FileAttr = require("./fattr"); 5 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2011-2017 JP Richardson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files 6 | (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, 7 | merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 13 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS 14 | OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 15 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 16 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/emptyDir-sync.md: -------------------------------------------------------------------------------- 1 | # emptyDirSync(dir) 2 | 3 | Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. 4 | 5 | **Alias:** `emptydirSync()` 6 | 7 | - `dir` `` 8 | 9 | ## Example: 10 | 11 | ```js 12 | const fs = require('fs-extra') 13 | 14 | // assume this directory has a lot of files and folders 15 | fs.emptyDirSync('/tmp/some/dir') 16 | ``` 17 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/emptyDir.md: -------------------------------------------------------------------------------- 1 | # emptyDir(dir[, callback]) 2 | 3 | Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. 4 | 5 | **Alias:** `emptydir()` 6 | 7 | - `dir` `` 8 | - `callback` `` 9 | - `err` `` 10 | 11 | ## Example: 12 | 13 | ```js 14 | const fs = require('fs-extra') 15 | 16 | // assume this directory has a lot of files and folders 17 | // With a callback: 18 | fs.emptyDir('/tmp/some/dir', err => { 19 | if (err) return console.error(err) 20 | console.log('success!') 21 | }) 22 | 23 | // With Promises: 24 | fs.emptyDir('/tmp/some/dir') 25 | .then(() => { 26 | console.log('success!') 27 | }) 28 | .catch(err => { 29 | console.error(err) 30 | }) 31 | 32 | // With async/await: 33 | async function example () { 34 | try { 35 | await fs.emptyDir('/tmp/some/dir') 36 | console.log('success!') 37 | } catch (err) { 38 | console.error(err) 39 | } 40 | } 41 | 42 | example() 43 | ``` 44 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/ensureDir-sync.md: -------------------------------------------------------------------------------- 1 | # ensureDirSync(dir[,options]) 2 | 3 | Ensures that the directory exists. If the directory structure does not exist, it is created. If provided, options may specify the desired mode for the directory. 4 | 5 | **Aliases:** `mkdirsSync()`, `mkdirpSync()` 6 | 7 | - `dir` `` 8 | - `options` ` | ` 9 | - If it is `Integer`, it will be `mode`. 10 | - If it is `Object`, it will be `{ mode: }`. 11 | 12 | ## Example: 13 | 14 | ```js 15 | const fs = require('fs-extra') 16 | 17 | const dir = '/tmp/this/path/does/not/exist' 18 | 19 | const desiredMode = 0o2775 20 | const options = { 21 | mode: 0o2775 22 | } 23 | 24 | fs.ensureDirSync(dir) 25 | // dir has now been created, including the directory it is to be placed in 26 | 27 | fs.ensureDirSync(dir, desiredMode) 28 | // dir has now been created, including the directory it is to be placed in with permission 0o2775 29 | 30 | fs.ensureDirSync(dir, options) 31 | // dir has now been created, including the directory it is to be placed in with permission 0o2775 32 | ``` 33 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/ensureFile-sync.md: -------------------------------------------------------------------------------- 1 | # ensureFileSync(file) 2 | 3 | Ensures that the file exists. If the file that is requested to be created is in directories that do not exist, these directories are created. If the file already exists, it is **NOT MODIFIED**. 4 | 5 | **Alias:** `createFileSync()` 6 | 7 | - `file` `` 8 | 9 | ## Example: 10 | 11 | ```js 12 | const fs = require('fs-extra') 13 | 14 | const file = '/tmp/this/path/does/not/exist/file.txt' 15 | fs.ensureFileSync(file) 16 | // file has now been created, including the directory it is to be placed in 17 | ``` 18 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/ensureFile.md: -------------------------------------------------------------------------------- 1 | # ensureFile(file[, callback]) 2 | 3 | Ensures that the file exists. If the file that is requested to be created is in directories that do not exist, these directories are created. If the file already exists, it is **NOT MODIFIED**. 4 | 5 | **Alias:** `createFile()` 6 | 7 | - `file` `` 8 | - `callback` `` 9 | - `err` `` 10 | 11 | ## Example: 12 | 13 | ```js 14 | const fs = require('fs-extra') 15 | 16 | const file = '/tmp/this/path/does/not/exist/file.txt' 17 | 18 | // With a callback: 19 | fs.ensureFile(file, err => { 20 | console.log(err) // => null 21 | // file has now been created, including the directory it is to be placed in 22 | }) 23 | 24 | // With Promises: 25 | fs.ensureFile(file) 26 | .then(() => { 27 | console.log('success!') 28 | }) 29 | .catch(err => { 30 | console.error(err) 31 | }) 32 | 33 | // With async/await: 34 | async function example (f) { 35 | try { 36 | await fs.ensureFile(f) 37 | console.log('success!') 38 | } catch (err) { 39 | console.error(err) 40 | } 41 | } 42 | 43 | example(file) 44 | ``` 45 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/ensureLink-sync.md: -------------------------------------------------------------------------------- 1 | # ensureLinkSync(srcPath, destPath) 2 | 3 | Ensures that the link exists. If the directory structure does not exist, it is created. 4 | 5 | **Alias:** `createLinkSync()` 6 | 7 | - `srcPath` `` 8 | - `destPath` `` 9 | 10 | ## Example: 11 | 12 | ```js 13 | const fs = require('fs-extra') 14 | 15 | const srcPath = '/tmp/file.txt' 16 | const destPath = '/tmp/this/path/does/not/exist/file.txt' 17 | fs.ensureLinkSync(srcPath, destPath) 18 | // link has now been created, including the directory it is to be placed in 19 | ``` 20 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/ensureLink.md: -------------------------------------------------------------------------------- 1 | # ensureLink(srcPath, destPath[, callback]) 2 | 3 | Ensures that the link exists. If the directory structure does not exist, it is created. 4 | 5 | **Alias:** `createLink()` 6 | 7 | - `srcPath` `` 8 | - `destPath` `` 9 | - `callback` `` 10 | - `err` `` 11 | 12 | ## Example: 13 | 14 | ```js 15 | const fs = require('fs-extra') 16 | 17 | const srcPath = '/tmp/file.txt' 18 | const destPath = '/tmp/this/path/does/not/exist/file.txt' 19 | 20 | // With a callback: 21 | fs.ensureLink(srcPath, destPath, err => { 22 | console.log(err) // => null 23 | // link has now been created, including the directory it is to be placed in 24 | }) 25 | 26 | // With Promises: 27 | fs.ensureLink(srcPath, destPath) 28 | .then(() => { 29 | console.log('success!') 30 | }) 31 | .catch(err => { 32 | console.error(err) 33 | }) 34 | 35 | // With async/await: 36 | async function example (src, dest) { 37 | try { 38 | await fs.ensureLink(src, dest) 39 | console.log('success!') 40 | } catch (err) { 41 | console.error(err) 42 | } 43 | } 44 | 45 | example(srcPath, destPath) 46 | ``` 47 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/ensureSymlink-sync.md: -------------------------------------------------------------------------------- 1 | # ensureSymlinkSync(srcPath, destPath[, type]) 2 | 3 | Ensures that the symlink exists. If the directory structure does not exist, it is created. 4 | 5 | **Alias:** `createSymlinkSync()` 6 | 7 | - `srcPath` `` 8 | - `destPath` `` 9 | - `type` `` It is only available on Windows and ignored on other platforms. It can be set to `dir`, `file`, or `junction`. 10 | 11 | ## Example: 12 | 13 | ```js 14 | const fs = require('fs-extra') 15 | 16 | const srcPath = '/tmp/file.txt' 17 | const destPath = '/tmp/this/path/does/not/exist/file.txt' 18 | fs.ensureSymlinkSync(srcPath, destPath) 19 | // symlink has now been created, including the directory it is to be placed in 20 | ``` 21 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/ensureSymlink.md: -------------------------------------------------------------------------------- 1 | # ensureSymlink(srcPath, destPath[, type][, callback]) 2 | 3 | Ensures that the symlink exists. If the directory structure does not exist, it is created. 4 | 5 | **Alias:** `createSymlink()` 6 | 7 | - `srcPath` `` 8 | - `destPath` `` 9 | - `type` `` It is only available on Windows and ignored on other platforms. It can be set to `dir`, `file`, or `junction`. 10 | - `callback` `` 11 | - `err` `` 12 | 13 | ## Example: 14 | 15 | ```js 16 | const fs = require('fs-extra') 17 | 18 | const srcPath = '/tmp/file.txt' 19 | const destPath = '/tmp/this/path/does/not/exist/file.txt' 20 | 21 | // With a callback: 22 | fs.ensureSymlink(srcPath, destPath, err => { 23 | console.log(err) // => null 24 | // symlink has now been created, including the directory it is to be placed in 25 | }) 26 | 27 | // With Promises: 28 | fs.ensureSymlink(srcPath, destPath) 29 | .then(() => { 30 | console.log('success!') 31 | }) 32 | .catch(err => { 33 | console.error(err) 34 | }) 35 | 36 | // With async/await: 37 | async function example (src, dest) { 38 | try { 39 | await fs.ensureSymlink(src, dest) 40 | console.log('success!') 41 | } catch (err) { 42 | console.error(err) 43 | } 44 | } 45 | 46 | example(srcPath, destPath) 47 | ``` 48 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/move-sync.md: -------------------------------------------------------------------------------- 1 | # moveSync(src, dest[, options]) 2 | 3 | Moves a file or directory, even across devices. 4 | 5 | - `src` `` 6 | - `dest` `` Note: When `src` is a file, `dest` must be a file and when `src` is a directory, `dest` must be a directory. 7 | - `options` `` 8 | - `overwrite` ``: overwrite existing file or directory, default is `false`. 9 | 10 | ## Example: 11 | 12 | ```js 13 | const fs = require('fs-extra') 14 | 15 | fs.moveSync('/tmp/somefile', '/tmp/does/not/exist/yet/somefile') 16 | ``` 17 | 18 | **Using `overwrite` option** 19 | 20 | ```js 21 | const fs = require('fs-extra') 22 | 23 | fs.moveSync('/tmp/somedir', '/tmp/may/already/exist/somedir', { overwrite: true }) 24 | ``` 25 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/move.md: -------------------------------------------------------------------------------- 1 | # move(src, dest[, options][, callback]) 2 | 3 | Moves a file or directory, even across devices. 4 | 5 | - `src` `` 6 | - `dest` `` Note: When `src` is a file, `dest` must be a file and when `src` is a directory, `dest` must be a directory. 7 | - `options` `` 8 | - `overwrite` ``: overwrite existing file or directory, default is `false`. 9 | - `callback` `` 10 | - `err` `` 11 | 12 | ## Example: 13 | 14 | ```js 15 | const fs = require('fs-extra') 16 | 17 | const src = '/tmp/file.txt' 18 | const dest = '/tmp/this/path/does/not/exist/file.txt' 19 | 20 | // With a callback: 21 | fs.move(src, dest, err => { 22 | if (err) return console.error(err) 23 | console.log('success!') 24 | }) 25 | 26 | // With Promises: 27 | fs.move(src, dest) 28 | .then(() => { 29 | console.log('success!') 30 | }) 31 | .catch(err => { 32 | console.error(err) 33 | }) 34 | 35 | // With async/await: 36 | async function example (src, dest) { 37 | try { 38 | await fs.move(src, dest) 39 | console.log('success!') 40 | } catch (err) { 41 | console.error(err) 42 | } 43 | } 44 | 45 | example(src, dest) 46 | ``` 47 | 48 | **Using `overwrite` option** 49 | 50 | ```js 51 | const fs = require('fs-extra') 52 | 53 | fs.move('/tmp/somedir', '/tmp/may/already/exist/somedir', { overwrite: true }, err => { 54 | if (err) return console.error(err) 55 | console.log('success!') 56 | }) 57 | ``` 58 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/outputFile-sync.md: -------------------------------------------------------------------------------- 1 | # outputFileSync(file, data[, options]) 2 | 3 | Almost the same as `writeFileSync` (i.e. it overwrites), except that if the parent directory does not exist, it's created. `file` must be a file path (a buffer or a file descriptor is not allowed). 4 | 5 | - `file` `` 6 | - `data` ` | | ` 7 | - `options` ` | ` (the same as [`fs.writeFileSync()` options](https://nodejs.org/api/fs.html#fs_fs_writefilesync_file_data_options)) 8 | 9 | ## Example: 10 | 11 | ```js 12 | const fs = require('fs-extra') 13 | 14 | const file = '/tmp/this/path/does/not/exist/file.txt' 15 | fs.outputFileSync(file, 'hello!') 16 | 17 | const data = fs.readFileSync(file, 'utf8') 18 | console.log(data) // => hello! 19 | ``` 20 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/outputFile.md: -------------------------------------------------------------------------------- 1 | # outputFile(file, data[, options][, callback]) 2 | 3 | Almost the same as `writeFile` (i.e. it overwrites), except that if the parent directory does not exist, it's created. `file` must be a file path (a buffer or a file descriptor is not allowed). 4 | 5 | - `file` `` 6 | - `data` ` | | ` 7 | - `options` ` | ` (the same as [`fs.writeFile()` options](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback)) 8 | - `callback` `` 9 | - `err` `` 10 | 11 | ## Example: 12 | 13 | ```js 14 | const fs = require('fs-extra') 15 | 16 | const file = '/tmp/this/path/does/not/exist/file.txt' 17 | 18 | // With a callback: 19 | fs.outputFile(file, 'hello!', err => { 20 | console.log(err) // => null 21 | 22 | fs.readFile(file, 'utf8', (err, data) => { 23 | if (err) return console.error(err) 24 | console.log(data) // => hello! 25 | }) 26 | }) 27 | 28 | // With Promises: 29 | fs.outputFile(file, 'hello!') 30 | .then(() => fs.readFile(file, 'utf8')) 31 | .then(data => { 32 | console.log(data) // => hello! 33 | }) 34 | .catch(err => { 35 | console.error(err) 36 | }) 37 | 38 | // With async/await: 39 | async function example (f) { 40 | try { 41 | await fs.outputFile(f, 'hello!') 42 | 43 | const data = await fs.readFile(f, 'utf8') 44 | 45 | console.log(data) // => hello! 46 | } catch (err) { 47 | console.error(err) 48 | } 49 | } 50 | 51 | example(file) 52 | ``` 53 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/outputJson-sync.md: -------------------------------------------------------------------------------- 1 | # outputJsonSync(file, object[, options]) 2 | 3 | Almost the same as [`writeJsonSync`](writeJson-sync.md), except that if the directory does not exist, it's created. 4 | 5 | **Alias:** `outputJSONSync()` 6 | 7 | - `file` `` 8 | - `object` `` 9 | - `options` `` 10 | - `spaces` ` | ` Number of spaces to indent; or a string to use for indentation (i.e. pass `'\t'` for tab indentation). See [the docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_space_argument) for more info. 11 | - `EOL` `` Set EOL character. Default is `\n`. 12 | - `replacer` [JSON replacer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter) 13 | - Also accepts [`fs.writeFileSync()` options](https://nodejs.org/api/fs.html#fs_fs_writefilesync_file_data_options) 14 | 15 | ## Example: 16 | 17 | ```js 18 | const fs = require('fs-extra') 19 | 20 | const file = '/tmp/this/path/does/not/exist/file.json' 21 | fs.outputJsonSync(file, {name: 'JP'}) 22 | 23 | const data = fs.readJsonSync(file) 24 | console.log(data.name) // => JP 25 | ``` 26 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/pathExists-sync.md: -------------------------------------------------------------------------------- 1 | # pathExistsSync(file) 2 | 3 | An alias for [`fs.existsSync()`](https://nodejs.org/api/fs.html#fs_fs_existssync_path), created for consistency with [`pathExists()`](pathExists.md). 4 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/pathExists.md: -------------------------------------------------------------------------------- 1 | # pathExists(file[, callback]) 2 | 3 | Test whether or not the given path exists by checking with the file system. Like [`fs.exists`](https://nodejs.org/api/fs.html#fs_fs_exists_path_callback), but with a normal callback signature (err, exists). Uses `fs.access` under the hood. 4 | 5 | - `file` `` 6 | - `callback` `` 7 | - `err` `` 8 | - `exists` `` 9 | 10 | ## Example: 11 | 12 | ```js 13 | const fs = require('fs-extra') 14 | 15 | const file = '/tmp/this/path/does/not/exist/file.txt' 16 | 17 | // With a callback: 18 | fs.pathExists(file, (err, exists) => { 19 | console.log(err) // => null 20 | console.log(exists) // => false 21 | }) 22 | 23 | // Promise usage: 24 | fs.pathExists(file) 25 | .then(exists => console.log(exists)) // => false 26 | 27 | // With async/await: 28 | async function example (f) { 29 | const exists = await fs.pathExists(f) 30 | 31 | console.log(exists) // => false 32 | } 33 | 34 | example(file) 35 | ``` 36 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/readJson-sync.md: -------------------------------------------------------------------------------- 1 | # readJsonSync(file[, options]) 2 | 3 | Reads a JSON file and then parses it into an object. 4 | 5 | **Alias:** `readJSONSync()` 6 | 7 | - `file` `` 8 | - `options` `` (the same as [`jsonFile.readFileSync()` options](https://github.com/jprichardson/node-jsonfile#readfilesyncfilename-options)) 9 | 10 | ## Example: 11 | 12 | ```js 13 | const fs = require('fs-extra') 14 | 15 | const packageObj = fs.readJsonSync('./package.json') 16 | console.log(packageObj.version) // => 2.0.0 17 | ``` 18 | 19 | --- 20 | 21 | `readJsonSync()` can take a `throws` option set to `false` and it won't throw if the JSON is invalid. Example: 22 | 23 | ```js 24 | const fs = require('fs-extra') 25 | 26 | const file = '/tmp/some-invalid.json' 27 | const data = '{not valid JSON' 28 | fs.writeFileSync(file, data) 29 | 30 | const obj = fs.readJsonSync(file, { throws: false }) 31 | console.log(obj) // => null 32 | ``` 33 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/remove-sync.md: -------------------------------------------------------------------------------- 1 | # removeSync(path) 2 | 3 | Removes a file or directory. The directory can have contents. If the path does not exist, silently does nothing. 4 | 5 | - `path` `` 6 | 7 | ## Example: 8 | 9 | ```js 10 | const fs = require('fs-extra') 11 | 12 | // remove file 13 | fs.removeSync('/tmp/myfile') 14 | 15 | fs.removeSync('/home/jprichardson') // I just deleted my entire HOME directory. 16 | ``` 17 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/remove.md: -------------------------------------------------------------------------------- 1 | # remove(path[, callback]) 2 | 3 | Removes a file or directory. The directory can have contents. If the path does not exist, silently does nothing. 4 | 5 | - `path` `` 6 | - `callback` `` 7 | - `err` `` 8 | 9 | ## Example: 10 | 11 | ```js 12 | const fs = require('fs-extra') 13 | 14 | // remove file 15 | // With a callback: 16 | fs.remove('/tmp/myfile', err => { 17 | if (err) return console.error(err) 18 | console.log('success!') 19 | }) 20 | 21 | fs.remove('/home/jprichardson', err => { 22 | if (err) return console.error(err) 23 | console.log('success!') // I just deleted my entire HOME directory. 24 | }) 25 | 26 | // With Promises: 27 | fs.remove('/tmp/myfile') 28 | .then(() => { 29 | console.log('success!') 30 | }) 31 | .catch(err => { 32 | console.error(err) 33 | }) 34 | 35 | // With async/await: 36 | async function example (src, dest) { 37 | try { 38 | await fs.remove('/tmp/myfile') 39 | console.log('success!') 40 | } catch (err) { 41 | console.error(err) 42 | } 43 | } 44 | 45 | example() 46 | ``` 47 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/writeJson-sync.md: -------------------------------------------------------------------------------- 1 | # writeJsonSync(file, object[, options]) 2 | 3 | Writes an object to a JSON file. 4 | 5 | **Alias:** `writeJSONSync()` 6 | 7 | - `file` `` 8 | - `object` `` 9 | - `options` `` 10 | - `spaces` ` | ` Number of spaces to indent; or a string to use for indentation (i.e. pass `'\t'` for tab indentation). See [the docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_space_argument) for more info. 11 | - `EOL` `` Set EOL character. Default is `\n`. 12 | - `replacer` [JSON replacer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter) 13 | - Also accepts [`fs.writeFileSync()` options](https://nodejs.org/api/fs.html#fs_fs_writefilesync_file_data_options) 14 | 15 | ## Example: 16 | 17 | ```js 18 | const fs = require('fs-extra') 19 | 20 | fs.writeJsonSync('./package.json', {name: 'fs-extra'}) 21 | ``` 22 | --- 23 | 24 | **See also:** [`outputJsonSync()`](outputJson-sync.md) 25 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/docs/writeJson.md: -------------------------------------------------------------------------------- 1 | # writeJson(file, object[, options][, callback]) 2 | 3 | Writes an object to a JSON file. 4 | 5 | **Alias:** `writeJSON()` 6 | 7 | - `file` `` 8 | - `object` `` 9 | - `options` `` 10 | - `spaces` ` | ` Number of spaces to indent; or a string to use for indentation (i.e. pass `'\t'` for tab indentation). See [the docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_space_argument) for more info. 11 | - `EOL` `` Set EOL character. Default is `\n`. 12 | - `replacer` [JSON replacer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#The_replacer_parameter) 13 | - Also accepts [`fs.writeFile()` options](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback) 14 | - `callback` `` 15 | - `err` `` 16 | 17 | ## Example: 18 | 19 | ```js 20 | const fs = require('fs-extra') 21 | 22 | // With a callback: 23 | fs.writeJson('./package.json', {name: 'fs-extra'}, err => { 24 | if (err) return console.error(err) 25 | console.log('success!') 26 | }) 27 | 28 | // With Promises: 29 | fs.writeJson('./package.json', {name: 'fs-extra'}) 30 | .then(() => { 31 | console.log('success!') 32 | }) 33 | .catch(err => { 34 | console.error(err) 35 | }) 36 | 37 | // With async/await: 38 | async function example () { 39 | try { 40 | await fs.writeJson('./package.json', {name: 'fs-extra'}) 41 | console.log('success!') 42 | } catch (err) { 43 | console.error(err) 44 | } 45 | } 46 | 47 | example() 48 | ``` 49 | 50 | --- 51 | 52 | **See also:** [`outputJson()`](outputJson.md) 53 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/__tests__/promise.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | /* eslint-env mocha */ 4 | 5 | const assert = require('assert') 6 | const fse = require('..') 7 | 8 | const methods = [ 9 | 'emptyDir', 10 | 'ensureFile', 11 | 'ensureDir', 12 | 'mkdirs', 13 | 'readJson', 14 | 'readJSON', 15 | 'remove' 16 | ] 17 | 18 | describe('promise support', () => { 19 | methods.forEach(method => { 20 | it(method, done => { 21 | fse[method]().catch(() => done()) 22 | }) 23 | }) 24 | 25 | it('provides fse.promises API', () => { 26 | assert.ok(fse.promises) 27 | assert.strictEqual(typeof fse.promises.writeFile, 'function') 28 | }) 29 | }) 30 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/copy-dev-null.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../../') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | let TEST_DIR = '' 12 | 13 | describe('+ copy() - copy /dev/null', () => { 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'test', 'fs-extra', 'copy-dev-null') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | afterEach(done => fse.remove(TEST_DIR, done)) 20 | 21 | describe('> when src is /dev/null', () => { 22 | it('should copy successfully', done => { 23 | // no /dev/null on windows 24 | if (process.platform === 'win32') return done() 25 | 26 | const tmpFile = path.join(TEST_DIR, 'foo') 27 | 28 | fse.copy('/dev/null', tmpFile, err => { 29 | assert.ifError(err) 30 | const stats = fs.lstatSync(tmpFile) 31 | assert.strictEqual(stats.size, 0) 32 | done() 33 | }) 34 | }) 35 | }) 36 | }) 37 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/copy-gh-89.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // relevant: https://github.com/jprichardson/node-fs-extra/issues/89 4 | // come up with better file name 5 | 6 | const fs = require('fs') 7 | const os = require('os') 8 | const fse = require('../../') 9 | const path = require('path') 10 | const assert = require('assert') 11 | 12 | /* global afterEach, beforeEach, describe, it */ 13 | 14 | describe('copy() - gh #89', () => { 15 | const TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'copy-gh-89') 16 | 17 | beforeEach(done => { 18 | fse.emptyDir(TEST_DIR, done) 19 | }) 20 | 21 | afterEach(done => { 22 | fse.remove(TEST_DIR, done) 23 | }) 24 | 25 | it('should copy successfully', done => { 26 | const A = path.join(TEST_DIR, 'A') 27 | const B = path.join(TEST_DIR, 'B') 28 | fs.mkdirSync(A) 29 | fs.mkdirSync(B) 30 | 31 | const one = path.join(A, 'one.txt') 32 | const two = path.join(A, 'two.txt') 33 | const three = path.join(B, 'three.txt') 34 | const four = path.join(B, 'four.txt') 35 | 36 | fs.writeFileSync(one, '1') 37 | fs.writeFileSync(two, '2') 38 | fs.writeFileSync(three, '3') 39 | fs.writeFileSync(four, '4') 40 | 41 | const C = path.join(TEST_DIR, 'C') 42 | fse.copy(A, C, err => { 43 | if (err) return done(err) 44 | 45 | fse.copy(B, C, err => { 46 | if (err) return done(err) 47 | 48 | assert(fs.existsSync(path.join(C, 'one.txt'))) 49 | assert(fs.existsSync(path.join(C, 'two.txt'))) 50 | assert(fs.existsSync(path.join(C, 'three.txt'))) 51 | assert(fs.existsSync(path.join(C, 'four.txt'))) 52 | done() 53 | }) 54 | }) 55 | }) 56 | }) 57 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/README.md: -------------------------------------------------------------------------------- 1 | These tests came from: https://github.com/AvianFlu/ncp/tree/v1.0.1/test -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/broken-symlink.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../../..') 6 | const { copy: ncp } = require('../../') 7 | const path = require('path') 8 | const assert = require('assert') 9 | 10 | /* global afterEach, beforeEach, describe, it */ 11 | 12 | describe('ncp broken symlink', () => { 13 | const TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'ncp-broken-symlinks') 14 | const src = path.join(TEST_DIR, 'src') 15 | const out = path.join(TEST_DIR, 'out') 16 | 17 | beforeEach(done => { 18 | fse.emptyDir(TEST_DIR, err => { 19 | assert.ifError(err) 20 | createFixtures(src, done) 21 | }) 22 | }) 23 | 24 | afterEach(done => fse.remove(TEST_DIR, done)) 25 | 26 | it('should not error if symlink is broken', done => { 27 | ncp(src, out, err => { 28 | assert.strictEqual(err, null) 29 | done() 30 | }) 31 | }) 32 | 33 | it('should return an error if symlink is broken and dereference=true', done => { 34 | ncp(src, out, { dereference: true }, err => { 35 | assert.strictEqual(err.code, 'ENOENT') 36 | done() 37 | }) 38 | }) 39 | }) 40 | 41 | function createFixtures (srcDir, callback) { 42 | fs.mkdir(srcDir, err => { 43 | let brokenFile 44 | let brokenFileLink 45 | 46 | if (err) return callback(err) 47 | 48 | try { 49 | brokenFile = path.join(srcDir, 'does-not-exist') 50 | brokenFileLink = path.join(srcDir, 'broken-symlink') 51 | fs.writeFileSync(brokenFile, 'does not matter') 52 | fs.symlinkSync(brokenFile, brokenFileLink, 'file') 53 | } catch (err) { 54 | callback(err) 55 | } 56 | 57 | // break the symlink now 58 | fse.remove(brokenFile, callback) 59 | }) 60 | } 61 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/modified-files/out/a: -------------------------------------------------------------------------------- 1 | test2 -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/modified-files/src/a: -------------------------------------------------------------------------------- 1 | test3 -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/a: -------------------------------------------------------------------------------- 1 | Hello world 2 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/b: -------------------------------------------------------------------------------- 1 | Hello ncp 2 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/c -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/d -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/e -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/f -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/sub/a: -------------------------------------------------------------------------------- 1 | Hello nodejitsu 2 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/sub/b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/out/sub/b -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/a: -------------------------------------------------------------------------------- 1 | Hello world 2 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/b: -------------------------------------------------------------------------------- 1 | Hello ncp 2 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/c -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/d -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/e -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/f -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/sub/a: -------------------------------------------------------------------------------- 1 | Hello nodejitsu 2 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/sub/b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/fixtures/regular-fixtures/src/sub/b -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/__tests__/ncp/ncp-error-perm.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // file in reference: https://github.com/jprichardson/node-fs-extra/issues/56 4 | 5 | const fs = require('fs') 6 | const os = require('os') 7 | const fse = require('../../..') 8 | const { copy: ncp } = require('../../') 9 | const path = require('path') 10 | const assert = require('assert') 11 | 12 | /* global afterEach, beforeEach, describe, it */ 13 | 14 | // skip test for windows 15 | // eslint-disable globalReturn */ 16 | // if (os.platform().indexOf('win') === 0) return 17 | // eslint-enable globalReturn */ 18 | 19 | describe('ncp / error / dest-permission', () => { 20 | const TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'ncp-error-dest-perm') 21 | const src = path.join(TEST_DIR, 'src') 22 | const dest = path.join(TEST_DIR, 'dest') 23 | 24 | // when we are root, then we will be able to create the subdirectory even if 25 | // we don't have the permissions to do so, so no point in running this test 26 | if (os.platform().indexOf('win') === 0 || os.userInfo().uid === 0) return 27 | 28 | beforeEach(done => { 29 | fse.emptyDir(TEST_DIR, err => { 30 | assert.ifError(err) 31 | done() 32 | }) 33 | }) 34 | 35 | afterEach(done => fse.remove(TEST_DIR, done)) 36 | 37 | it('should return an error', done => { 38 | const someFile = path.join(src, 'some-file') 39 | fse.outputFileSync(someFile, 'hello') 40 | 41 | fse.mkdirsSync(dest) 42 | fs.chmodSync(dest, 0o444) 43 | 44 | const subdest = path.join(dest, 'another-dir') 45 | 46 | ncp(src, subdest, err => { 47 | assert(err) 48 | assert.strictEqual(err.code, 'EACCES') 49 | done() 50 | }) 51 | }) 52 | }) 53 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/copy/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromPromise 4 | module.exports = { 5 | copy: u(require('./copy')), 6 | copySync: require('./copy-sync') 7 | } 8 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/empty/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromPromise 4 | const fs = require('../fs') 5 | const path = require('path') 6 | const mkdir = require('../mkdirs') 7 | const remove = require('../remove') 8 | 9 | const emptyDir = u(async function emptyDir (dir) { 10 | let items 11 | try { 12 | items = await fs.readdir(dir) 13 | } catch { 14 | return mkdir.mkdirs(dir) 15 | } 16 | 17 | return Promise.all(items.map(item => remove.remove(path.join(dir, item)))) 18 | }) 19 | 20 | function emptyDirSync (dir) { 21 | let items 22 | try { 23 | items = fs.readdirSync(dir) 24 | } catch { 25 | return mkdir.mkdirsSync(dir) 26 | } 27 | 28 | items.forEach(item => { 29 | item = path.join(dir, item) 30 | remove.removeSync(item) 31 | }) 32 | } 33 | 34 | module.exports = { 35 | emptyDirSync, 36 | emptydirSync: emptyDirSync, 37 | emptyDir, 38 | emptydir: emptyDir 39 | } 40 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/ensure/file.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromPromise 4 | const path = require('path') 5 | const fs = require('../fs') 6 | const mkdir = require('../mkdirs') 7 | 8 | async function createFile (file) { 9 | let stats 10 | try { 11 | stats = await fs.stat(file) 12 | } catch { } 13 | if (stats && stats.isFile()) return 14 | 15 | const dir = path.dirname(file) 16 | 17 | let dirStats = null 18 | try { 19 | dirStats = await fs.stat(dir) 20 | } catch (err) { 21 | // if the directory doesn't exist, make it 22 | if (err.code === 'ENOENT') { 23 | await mkdir.mkdirs(dir) 24 | await fs.writeFile(file, '') 25 | return 26 | } else { 27 | throw err 28 | } 29 | } 30 | 31 | if (dirStats.isDirectory()) { 32 | await fs.writeFile(file, '') 33 | } else { 34 | // parent is not a directory 35 | // This is just to cause an internal ENOTDIR error to be thrown 36 | await fs.readdir(dir) 37 | } 38 | } 39 | 40 | function createFileSync (file) { 41 | let stats 42 | try { 43 | stats = fs.statSync(file) 44 | } catch { } 45 | if (stats && stats.isFile()) return 46 | 47 | const dir = path.dirname(file) 48 | try { 49 | if (!fs.statSync(dir).isDirectory()) { 50 | // parent is not a directory 51 | // This is just to cause an internal ENOTDIR error to be thrown 52 | fs.readdirSync(dir) 53 | } 54 | } catch (err) { 55 | // If the stat call above failed because the directory doesn't exist, create it 56 | if (err && err.code === 'ENOENT') mkdir.mkdirsSync(dir) 57 | else throw err 58 | } 59 | 60 | fs.writeFileSync(file, '') 61 | } 62 | 63 | module.exports = { 64 | createFile: u(createFile), 65 | createFileSync 66 | } 67 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/ensure/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { createFile, createFileSync } = require('./file') 4 | const { createLink, createLinkSync } = require('./link') 5 | const { createSymlink, createSymlinkSync } = require('./symlink') 6 | 7 | module.exports = { 8 | // file 9 | createFile, 10 | createFileSync, 11 | ensureFile: createFile, 12 | ensureFileSync: createFileSync, 13 | // link 14 | createLink, 15 | createLinkSync, 16 | ensureLink: createLink, 17 | ensureLinkSync: createLinkSync, 18 | // symlink 19 | createSymlink, 20 | createSymlinkSync, 21 | ensureSymlink: createSymlink, 22 | ensureSymlinkSync: createSymlinkSync 23 | } 24 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/ensure/link.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromPromise 4 | const path = require('path') 5 | const fs = require('../fs') 6 | const mkdir = require('../mkdirs') 7 | const { pathExists } = require('../path-exists') 8 | const { areIdentical } = require('../util/stat') 9 | 10 | async function createLink (srcpath, dstpath) { 11 | let dstStat 12 | try { 13 | dstStat = await fs.lstat(dstpath) 14 | } catch { 15 | // ignore error 16 | } 17 | 18 | let srcStat 19 | try { 20 | srcStat = await fs.lstat(srcpath) 21 | } catch (err) { 22 | err.message = err.message.replace('lstat', 'ensureLink') 23 | throw err 24 | } 25 | 26 | if (dstStat && areIdentical(srcStat, dstStat)) return 27 | 28 | const dir = path.dirname(dstpath) 29 | 30 | const dirExists = await pathExists(dir) 31 | 32 | if (!dirExists) { 33 | await mkdir.mkdirs(dir) 34 | } 35 | 36 | await fs.link(srcpath, dstpath) 37 | } 38 | 39 | function createLinkSync (srcpath, dstpath) { 40 | let dstStat 41 | try { 42 | dstStat = fs.lstatSync(dstpath) 43 | } catch {} 44 | 45 | try { 46 | const srcStat = fs.lstatSync(srcpath) 47 | if (dstStat && areIdentical(srcStat, dstStat)) return 48 | } catch (err) { 49 | err.message = err.message.replace('lstat', 'ensureLink') 50 | throw err 51 | } 52 | 53 | const dir = path.dirname(dstpath) 54 | const dirExists = fs.existsSync(dir) 55 | if (dirExists) return fs.linkSync(srcpath, dstpath) 56 | mkdir.mkdirsSync(dir) 57 | 58 | return fs.linkSync(srcpath, dstpath) 59 | } 60 | 61 | module.exports = { 62 | createLink: u(createLink), 63 | createLinkSync 64 | } 65 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/ensure/symlink-type.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('../fs') 4 | const u = require('universalify').fromPromise 5 | 6 | async function symlinkType (srcpath, type) { 7 | if (type) return type 8 | 9 | let stats 10 | try { 11 | stats = await fs.lstat(srcpath) 12 | } catch { 13 | return 'file' 14 | } 15 | 16 | return (stats && stats.isDirectory()) ? 'dir' : 'file' 17 | } 18 | 19 | function symlinkTypeSync (srcpath, type) { 20 | if (type) return type 21 | 22 | let stats 23 | try { 24 | stats = fs.lstatSync(srcpath) 25 | } catch { 26 | return 'file' 27 | } 28 | return (stats && stats.isDirectory()) ? 'dir' : 'file' 29 | } 30 | 31 | module.exports = { 32 | symlinkType: u(symlinkType), 33 | symlinkTypeSync 34 | } 35 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/fs/__tests__/copyFile.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const os = require('os') 4 | const fse = require('../..') 5 | const path = require('path') 6 | const assert = require('assert') 7 | 8 | /* eslint-env mocha */ 9 | 10 | describe('fs.copyFile', () => { 11 | let TEST_DIR 12 | 13 | beforeEach(done => { 14 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'fs-copyfile') 15 | fse.emptyDir(TEST_DIR, done) 16 | }) 17 | 18 | afterEach(done => fse.remove(TEST_DIR, done)) 19 | 20 | it('supports promises', () => { 21 | const src = path.join(TEST_DIR, 'init.txt') 22 | const dest = path.join(TEST_DIR, 'copy.txt') 23 | fse.writeFileSync(src, 'hello') 24 | return fse.copyFile(src, dest).then(() => { 25 | const data = fse.readFileSync(dest, 'utf8') 26 | assert.strictEqual(data, 'hello') 27 | }) 28 | }) 29 | }) 30 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/fs/__tests__/fs-integration.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const os = require('os') 4 | const fs = require('fs') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | describe('native fs', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'native-fs') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | afterEach(done => fse.remove(TEST_DIR, done)) 20 | 21 | it('should use native fs methods', () => { 22 | const file = path.join(TEST_DIR, 'write.txt') 23 | fse.writeFileSync(file, 'hello') 24 | const data = fse.readFileSync(file, 'utf8') 25 | assert.strictEqual(data, 'hello') 26 | }) 27 | 28 | it('should have native fs constants', () => { 29 | assert.strictEqual(fse.constants.F_OK, fs.constants.F_OK) 30 | assert.strictEqual(fse.F_OK, fs.F_OK) // soft deprecated usage, but still available 31 | }) 32 | }) 33 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/fs/__tests__/mz.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | // This is adapted from https://github.com/normalize/mz 3 | // Copyright (c) 2014-2016 Jonathan Ong me@jongleberry.com and Contributors 4 | 5 | /* eslint-env mocha */ 6 | const assert = require('assert') 7 | const fs = require('../..') 8 | 9 | describe('fs', () => { 10 | it('.stat()', done => { 11 | fs.stat(__filename).then(stats => { 12 | assert.strictEqual(typeof stats.size, 'number') 13 | done() 14 | }).catch(done) 15 | }) 16 | 17 | it('.statSync()', () => { 18 | const stats = fs.statSync(__filename) 19 | assert.strictEqual(typeof stats.size, 'number') 20 | }) 21 | 22 | it('.exists()', done => { 23 | fs.exists(__filename).then(exists => { 24 | assert(exists) 25 | done() 26 | }).catch(done) 27 | }) 28 | 29 | it('.existsSync()', () => { 30 | const exists = fs.existsSync(__filename) 31 | assert(exists) 32 | }) 33 | 34 | describe('callback support', () => { 35 | it('.stat()', done => { 36 | fs.stat(__filename, (err, stats) => { 37 | assert(!err) 38 | assert.strictEqual(typeof stats.size, 'number') 39 | done() 40 | }) 41 | }) 42 | 43 | // This test is different from mz/fs, since we are a drop-in replacement for native fs 44 | it('.exists()', done => { 45 | fs.exists(__filename, exists => { 46 | assert(exists) 47 | done() 48 | }) 49 | }) 50 | }) 51 | }) 52 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/fs/__tests__/rm.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fse = require('../..') 4 | const os = require('os') 5 | const path = require('path') 6 | const assert = require('assert') 7 | 8 | /* eslint-env mocha */ 9 | 10 | describe('fs.rm', () => { 11 | let TEST_FILE 12 | 13 | beforeEach(done => { 14 | TEST_FILE = path.join(os.tmpdir(), 'fs-extra', 'fs-rm') 15 | fse.remove(TEST_FILE, done) 16 | }) 17 | 18 | afterEach(done => fse.remove(TEST_FILE, done)) 19 | 20 | it('supports promises', () => { 21 | fse.writeFileSync(TEST_FILE, 'hello') 22 | return fse.rm(TEST_FILE).then(() => { 23 | assert(!fse.pathExistsSync(TEST_FILE)) 24 | }) 25 | }) 26 | }) 27 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | // Export promiseified graceful-fs: 5 | ...require('./fs'), 6 | // Export extra methods: 7 | ...require('./copy'), 8 | ...require('./empty'), 9 | ...require('./ensure'), 10 | ...require('./json'), 11 | ...require('./mkdirs'), 12 | ...require('./move'), 13 | ...require('./output-file'), 14 | ...require('./path-exists'), 15 | ...require('./remove') 16 | } 17 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/json/__tests__/jsonfile-integration.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | describe('jsonfile-integration', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'json') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | afterEach(done => fse.remove(TEST_DIR, done)) 20 | 21 | describe('+ writeJsonSync / spaces', () => { 22 | it('should read a file and parse the json', () => { 23 | const obj1 = { 24 | firstName: 'JP', 25 | lastName: 'Richardson' 26 | } 27 | 28 | const file = path.join(TEST_DIR, 'file.json') 29 | fse.writeJsonSync(file, obj1) 30 | const data = fs.readFileSync(file, 'utf8') 31 | assert.strictEqual(data, JSON.stringify(obj1) + '\n') 32 | }) 33 | }) 34 | 35 | describe('+ writeJsonSync / EOL', () => { 36 | it('should read a file and parse the json', () => { 37 | const obj1 = { 38 | firstName: 'JP', 39 | lastName: 'Richardson' 40 | } 41 | 42 | const file = path.join(TEST_DIR, 'file.json') 43 | fse.writeJsonSync(file, obj1, { spaces: 2, EOL: '\r\n' }) 44 | const data = fs.readFileSync(file, 'utf8') 45 | assert.strictEqual( 46 | data, 47 | JSON.stringify(obj1, null, 2).replace(/\n/g, '\r\n') + '\r\n' 48 | ) 49 | }) 50 | }) 51 | }) 52 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/json/__tests__/output-json-sync.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global beforeEach, describe, it */ 10 | 11 | describe('json', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra-output-json-sync') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | describe('+ outputJsonSync(file, data)', () => { 20 | it('should write the file regardless of whether the directory exists or not', () => { 21 | const file = path.join(TEST_DIR, 'this-dir', 'does-not', 'exist', 'file.json') 22 | assert(!fs.existsSync(file)) 23 | 24 | const data = { name: 'JP' } 25 | fse.outputJsonSync(file, data) 26 | 27 | assert(fs.existsSync(file)) 28 | const newData = JSON.parse(fs.readFileSync(file, 'utf8')) 29 | 30 | assert.strictEqual(data.name, newData.name) 31 | }) 32 | 33 | describe('> when an option is passed, like JSON replacer', () => { 34 | it('should pass the option along to jsonfile module', () => { 35 | const file = path.join(TEST_DIR, 'this-dir', 'does-not', 'exist', 'really', 'file.json') 36 | assert(!fs.existsSync(file)) 37 | 38 | const replacer = (k, v) => v === 'JP' ? 'Jon Paul' : v 39 | const data = { name: 'JP' } 40 | 41 | fse.outputJsonSync(file, data, { replacer }) 42 | const newData = JSON.parse(fs.readFileSync(file, 'utf8')) 43 | 44 | assert.strictEqual(newData.name, 'Jon Paul') 45 | }) 46 | }) 47 | }) 48 | }) 49 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/json/__tests__/promise-support.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | describe('json promise support', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'json') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | afterEach(done => fse.remove(TEST_DIR, done)) 20 | 21 | ;['writeJson', 'writeJSON'].forEach(method => { 22 | describe(method, () => { 23 | it('should support promises', () => { 24 | const obj1 = { 25 | firstName: 'JP', 26 | lastName: 'Richardson' 27 | } 28 | 29 | const file = path.join(TEST_DIR, 'promise.json') 30 | return fse[method](file, obj1) 31 | .then(() => { 32 | const data = fs.readFileSync(file, 'utf8') 33 | assert.strictEqual(data, JSON.stringify(obj1) + '\n') 34 | }) 35 | }) 36 | }) 37 | }) 38 | }) 39 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/json/__tests__/read.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | describe('read', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'read-json') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | afterEach(done => fse.remove(TEST_DIR, done)) 20 | 21 | describe('+ readJSON', () => { 22 | it('should read a file and parse the json', done => { 23 | const obj1 = { 24 | firstName: 'JP', 25 | lastName: 'Richardson' 26 | } 27 | 28 | const file = path.join(TEST_DIR, 'file.json') 29 | fs.writeFileSync(file, JSON.stringify(obj1)) 30 | fse.readJSON(file, (err, obj2) => { 31 | assert.ifError(err) 32 | assert.strictEqual(obj1.firstName, obj2.firstName) 33 | assert.strictEqual(obj1.lastName, obj2.lastName) 34 | done() 35 | }) 36 | }) 37 | 38 | it('should error if it cant parse the json', done => { 39 | const file = path.join(TEST_DIR, 'file2.json') 40 | fs.writeFileSync(file, '%asdfasdff444') 41 | fse.readJSON(file, (err, obj) => { 42 | assert(err) 43 | assert(!obj) 44 | done() 45 | }) 46 | }) 47 | }) 48 | }) 49 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/json/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromPromise 4 | const jsonFile = require('./jsonfile') 5 | 6 | jsonFile.outputJson = u(require('./output-json')) 7 | jsonFile.outputJsonSync = require('./output-json-sync') 8 | // aliases 9 | jsonFile.outputJSON = jsonFile.outputJson 10 | jsonFile.outputJSONSync = jsonFile.outputJsonSync 11 | jsonFile.writeJSON = jsonFile.writeJson 12 | jsonFile.writeJSONSync = jsonFile.writeJsonSync 13 | jsonFile.readJSON = jsonFile.readJson 14 | jsonFile.readJSONSync = jsonFile.readJsonSync 15 | 16 | module.exports = jsonFile 17 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/json/jsonfile.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const jsonFile = require('jsonfile') 4 | 5 | module.exports = { 6 | // jsonfile exports 7 | readJson: jsonFile.readFile, 8 | readJsonSync: jsonFile.readFileSync, 9 | writeJson: jsonFile.writeFile, 10 | writeJsonSync: jsonFile.writeFileSync 11 | } 12 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/json/output-json-sync.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { stringify } = require('jsonfile/utils') 4 | const { outputFileSync } = require('../output-file') 5 | 6 | function outputJsonSync (file, data, options) { 7 | const str = stringify(data, options) 8 | 9 | outputFileSync(file, str, options) 10 | } 11 | 12 | module.exports = outputJsonSync 13 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/json/output-json.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { stringify } = require('jsonfile/utils') 4 | const { outputFile } = require('../output-file') 5 | 6 | async function outputJson (file, data, options = {}) { 7 | const str = stringify(data, options) 8 | 9 | await outputFile(file, str, options) 10 | } 11 | 12 | module.exports = outputJson 13 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/clobber.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global before, describe, it */ 10 | 11 | describe('mkdirp / clobber', () => { 12 | let TEST_DIR 13 | let file 14 | 15 | before(done => { 16 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'mkdirp-clobber') 17 | fse.emptyDir(TEST_DIR, err => { 18 | assert.ifError(err) 19 | 20 | const ps = [TEST_DIR] 21 | 22 | for (let i = 0; i < 15; i++) { 23 | const dir = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 24 | ps.push(dir) 25 | } 26 | 27 | file = ps.join(path.sep) 28 | 29 | // a file in the way 30 | const itw = ps.slice(0, 2).join(path.sep) 31 | 32 | fs.writeFileSync(itw, 'I AM IN THE WAY, THE TRUTH, AND THE LIGHT.') 33 | 34 | fs.stat(itw, (err, stat) => { 35 | assert.ifError(err) 36 | assert.ok(stat && stat.isFile(), 'should be file') 37 | done() 38 | }) 39 | }) 40 | }) 41 | 42 | it('should clobber', done => { 43 | fse.mkdirp(file, 0o755, err => { 44 | assert.ok(err) 45 | assert.strictEqual(err.code, 'ENOTDIR') 46 | done() 47 | }) 48 | }) 49 | }) 50 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/issue-209.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const assert = require('assert') 4 | const fse = require('../..') 5 | 6 | /* global describe, it */ 7 | 8 | describe('mkdirp: issue-209, win32, when bad path, should return a cleaner error', () => { 9 | // only seems to be an issue on Windows. 10 | if (process.platform !== 'win32') return 11 | 12 | it('should return a callback', done => { 13 | const file = './bad?dir' 14 | fse.mkdirp(file, err => { 15 | assert(err, 'error is present') 16 | assert.strictEqual(err.code, 'EINVAL') 17 | 18 | const file2 = 'c:\\tmp\foo:moo' 19 | fse.mkdirp(file2, err => { 20 | assert(err, 'error is present') 21 | assert.strictEqual(err.code, 'EINVAL') 22 | done() 23 | }) 24 | }) 25 | }) 26 | 27 | describe('> sync', () => { 28 | it('should throw an error', () => { 29 | let didErr 30 | try { 31 | const file = 'c:\\tmp\foo:moo' 32 | fse.mkdirpSync(file) 33 | } catch { 34 | didErr = true 35 | } 36 | assert(didErr) 37 | }) 38 | }) 39 | }) 40 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/issue-93.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const os = require('os') 4 | const fse = require('../..') 5 | const path = require('path') 6 | const assert = require('assert') 7 | const util = require('util') 8 | 9 | /* global before, describe, it */ 10 | 11 | describe('mkdirp: issue-93, win32, when drive does not exist, it should return a cleaner error', () => { 12 | let TEST_DIR 13 | 14 | // only seems to be an issue on Windows. 15 | if (process.platform !== 'win32') return 16 | 17 | before(done => { 18 | TEST_DIR = path.join(os.tmpdir(), 'tests', 'fs-extra', 'mkdirp-issue-93') 19 | fse.emptyDir(TEST_DIR, err => { 20 | assert.ifError(err) 21 | done() 22 | }) 23 | }) 24 | 25 | it('should return a cleaner error than inifinite loop, stack crash', done => { 26 | const file = 'R:\\afasd\\afaff\\fdfd' // hopefully drive 'r' does not exist on appveyor 27 | // Different error codes on different Node versions (matches native mkdir behavior) 28 | const assertErr = (err) => assert( 29 | ['EPERM', 'ENOENT'].includes(err.code), 30 | `expected 'EPERM' or 'ENOENT', got ${util.inspect(err.code)}` 31 | ) 32 | 33 | fse.mkdirp(file, err => { 34 | assertErr(err) 35 | 36 | try { 37 | fse.mkdirsSync(file) 38 | } catch (err) { 39 | assertErr(err) 40 | } 41 | 42 | done() 43 | }) 44 | }) 45 | }) 46 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/mkdirp.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | describe('mkdirp / mkdirp', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'mkdirp') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | afterEach(done => fse.remove(TEST_DIR, done)) 20 | 21 | it('should make the dir', done => { 22 | const x = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 23 | const y = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 24 | const z = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 25 | 26 | const file = path.join(TEST_DIR, x, y, z) 27 | 28 | fse.mkdirp(file, 0o755, err => { 29 | assert.ifError(err) 30 | fse.pathExists(file, (err, ex) => { 31 | assert.ifError(err) 32 | assert.ok(ex, 'file created') 33 | fs.stat(file, (err, stat) => { 34 | assert.ifError(err) 35 | 36 | if (os.platform().indexOf('win') === 0) { 37 | assert.strictEqual(stat.mode & 0o777, 0o666) 38 | } else { 39 | assert.strictEqual(stat.mode & 0o777, 0o755) 40 | } 41 | 42 | assert.ok(stat.isDirectory(), 'target not a directory') 43 | done() 44 | }) 45 | }) 46 | }) 47 | }) 48 | }) 49 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/opts-undef.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global beforeEach, describe, it */ 10 | 11 | describe('mkdirs / opts-undef', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'mkdirs') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | // https://github.com/substack/node-mkdirp/issues/45 20 | it('should not hang', done => { 21 | const newDir = path.join(TEST_DIR, 'doest', 'not', 'exist') 22 | assert(!fs.existsSync(newDir)) 23 | 24 | fse.mkdirs(newDir, undefined, err => { 25 | assert.ifError(err) 26 | assert(fs.existsSync(newDir)) 27 | done() 28 | }) 29 | }) 30 | }) 31 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/perm.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../../') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | describe('mkdirp / perm', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'mkdirp-perm') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | afterEach(done => fse.remove(TEST_DIR, done)) 20 | 21 | it('async perm', done => { 22 | const file = path.join(TEST_DIR, (Math.random() * (1 << 30)).toString(16)) 23 | 24 | fse.mkdirp(file, 0o755, err => { 25 | assert.ifError(err) 26 | fse.pathExists(file, (err, ex) => { 27 | assert.ifError(err) 28 | assert.ok(ex, 'file created') 29 | fs.stat(file, (err, stat) => { 30 | assert.ifError(err) 31 | 32 | if (os.platform().indexOf('win') === 0) { 33 | assert.strictEqual(stat.mode & 0o777, 0o666) 34 | } else { 35 | assert.strictEqual(stat.mode & 0o777, 0o755) 36 | } 37 | 38 | assert.ok(stat.isDirectory(), 'target not a directory') 39 | done() 40 | }) 41 | }) 42 | }) 43 | }) 44 | 45 | it('async root perm', done => { 46 | fse.mkdirp(path.join(os.tmpdir(), 'tmp'), 0o755, err => { 47 | assert.ifError(err) 48 | done() 49 | }) 50 | }) 51 | }) 52 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/perm_sync.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | describe('mkdirp / perm_sync', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'mkdirp-perm-sync') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | afterEach(done => fse.remove(TEST_DIR, done)) 20 | 21 | it('sync perm', done => { 22 | const file = path.join(TEST_DIR, (Math.random() * (1 << 30)).toString(16) + '.json') 23 | 24 | fse.mkdirpSync(file, 0o755) 25 | fse.pathExists(file, (err, ex) => { 26 | assert.ifError(err) 27 | assert.ok(ex, 'file created') 28 | fs.stat(file, (err, stat) => { 29 | assert.ifError(err) 30 | 31 | if (os.platform().indexOf('win') === 0) { 32 | assert.strictEqual(stat.mode & 0o777, 0o666) 33 | } else { 34 | assert.strictEqual(stat.mode & 0o777, 0o755) 35 | } 36 | 37 | assert.ok(stat.isDirectory(), 'target not a directory') 38 | done() 39 | }) 40 | }) 41 | }) 42 | 43 | it('sync root perm', done => { 44 | const file = TEST_DIR 45 | fse.mkdirpSync(file, 0o755) 46 | fse.pathExists(file, (err, ex) => { 47 | assert.ifError(err) 48 | assert.ok(ex, 'file created') 49 | fs.stat(file, (err, stat) => { 50 | assert.ifError(err) 51 | assert.ok(stat.isDirectory(), 'target not a directory') 52 | done() 53 | }) 54 | }) 55 | }) 56 | }) 57 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/race.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | describe('mkdirp / race', () => { 12 | let TEST_DIR 13 | let file 14 | 15 | beforeEach(done => { 16 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'mkdirp-race') 17 | fse.emptyDir(TEST_DIR, err => { 18 | assert.ifError(err) 19 | 20 | const ps = [TEST_DIR] 21 | 22 | for (let i = 0; i < 15; i++) { 23 | const dir = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 24 | ps.push(dir) 25 | } 26 | 27 | file = path.join(...ps) 28 | done() 29 | }) 30 | }) 31 | 32 | afterEach(done => fse.remove(TEST_DIR, done)) 33 | 34 | it('race', done => { 35 | let res = 2 36 | 37 | mk(file, () => --res === 0 ? done() : undefined) 38 | mk(file, () => --res === 0 ? done() : undefined) 39 | 40 | function mk (file, callback) { 41 | fse.mkdirp(file, 0o755, err => { 42 | assert.ifError(err) 43 | fse.pathExists(file, (err, ex) => { 44 | assert.ifError(err) 45 | assert.ok(ex, 'file created') 46 | fs.stat(file, (err, stat) => { 47 | assert.ifError(err) 48 | 49 | if (os.platform().indexOf('win') === 0) { 50 | assert.strictEqual(stat.mode & 0o777, 0o666) 51 | } else { 52 | assert.strictEqual(stat.mode & 0o777, 0o755) 53 | } 54 | 55 | assert.ok(stat.isDirectory(), 'target not a directory') 56 | if (callback) callback() 57 | }) 58 | }) 59 | }) 60 | } 61 | }) 62 | }) 63 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/rel.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const CWD = process.cwd() 4 | 5 | const fs = require('fs') 6 | const os = require('os') 7 | const fse = require('../..') 8 | const path = require('path') 9 | const assert = require('assert') 10 | 11 | /* global afterEach, beforeEach, describe, it */ 12 | 13 | describe('mkdirp / relative', () => { 14 | let TEST_DIR 15 | let file 16 | 17 | beforeEach(done => { 18 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'mkdirp-relative') 19 | fse.emptyDir(TEST_DIR, err => { 20 | assert.ifError(err) 21 | 22 | const x = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 23 | const y = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 24 | const z = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 25 | 26 | // relative path 27 | file = path.join(x, y, z) 28 | 29 | done() 30 | }) 31 | }) 32 | 33 | afterEach(done => fse.remove(TEST_DIR, done)) 34 | 35 | it('should make the directory with relative path', done => { 36 | process.chdir(TEST_DIR) 37 | 38 | fse.mkdirp(file, 0o755, err => { 39 | assert.ifError(err) 40 | fse.pathExists(file, (err, ex) => { 41 | assert.ifError(err) 42 | assert.ok(ex, 'file created') 43 | fs.stat(file, (err, stat) => { 44 | assert.ifError(err) 45 | // restore 46 | process.chdir(CWD) 47 | 48 | if (os.platform().indexOf('win') === 0) { 49 | assert.strictEqual(stat.mode & 0o777, 0o666) 50 | } else { 51 | assert.strictEqual(stat.mode & 0o777, 0o755) 52 | } 53 | 54 | assert.ok(stat.isDirectory(), 'target not a directory') 55 | done() 56 | }) 57 | }) 58 | }) 59 | }) 60 | }) 61 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/root.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const fse = require('../../') 5 | const path = require('path') 6 | const assert = require('assert') 7 | 8 | /* global describe, it */ 9 | 10 | describe('mkdirp / root', () => { 11 | // '/' on unix 12 | const dir = path.normalize(path.resolve(path.sep)).toLowerCase() 13 | 14 | // Windows does not have permission to mkdir on root 15 | if (process.platform === 'win32') return 16 | 17 | it('should', done => { 18 | fse.mkdirp(dir, 0o755, err => { 19 | if (err) return done(err) 20 | fs.stat(dir, (er, stat) => { 21 | if (er) return done(er) 22 | assert.ok(stat.isDirectory(), 'target is a directory') 23 | done() 24 | }) 25 | }) 26 | }) 27 | }) 28 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/__tests__/sync.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global afterEach, beforeEach, describe, it */ 10 | 11 | describe('mkdirp / sync', () => { 12 | let TEST_DIR 13 | let file 14 | 15 | beforeEach(done => { 16 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'mkdirp-sync') 17 | fse.emptyDir(TEST_DIR, err => { 18 | assert.ifError(err) 19 | 20 | const x = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 21 | const y = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 22 | const z = Math.floor(Math.random() * Math.pow(16, 4)).toString(16) 23 | 24 | file = path.join(TEST_DIR, x, y, z) 25 | 26 | done() 27 | }) 28 | }) 29 | 30 | afterEach(done => fse.remove(TEST_DIR, done)) 31 | 32 | it('should', done => { 33 | try { 34 | fse.mkdirpSync(file, 0o755) 35 | } catch (err) { 36 | assert.fail(err) 37 | } 38 | 39 | fse.pathExists(file, (err, ex) => { 40 | assert.ifError(err) 41 | assert.ok(ex, 'file created') 42 | fs.stat(file, (err, stat) => { 43 | assert.ifError(err) 44 | // http://stackoverflow.com/questions/592448/c-how-to-set-file-permissions-cross-platform 45 | if (os.platform().indexOf('win') === 0) { 46 | assert.strictEqual(stat.mode & 0o777, 0o666) 47 | } else { 48 | assert.strictEqual(stat.mode & 0o777, 0o755) 49 | } 50 | 51 | assert.ok(stat.isDirectory(), 'target not a directory') 52 | done() 53 | }) 54 | }) 55 | }) 56 | }) 57 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const u = require('universalify').fromPromise 3 | const { makeDir: _makeDir, makeDirSync } = require('./make-dir') 4 | const makeDir = u(_makeDir) 5 | 6 | module.exports = { 7 | mkdirs: makeDir, 8 | mkdirsSync: makeDirSync, 9 | // alias 10 | mkdirp: makeDir, 11 | mkdirpSync: makeDirSync, 12 | ensureDir: makeDir, 13 | ensureDirSync: makeDirSync 14 | } 15 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/make-dir.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const fs = require('../fs') 3 | const { checkPath } = require('./utils') 4 | 5 | const getMode = options => { 6 | const defaults = { mode: 0o777 } 7 | if (typeof options === 'number') return options 8 | return ({ ...defaults, ...options }).mode 9 | } 10 | 11 | module.exports.makeDir = async (dir, options) => { 12 | checkPath(dir) 13 | 14 | return fs.mkdir(dir, { 15 | mode: getMode(options), 16 | recursive: true 17 | }) 18 | } 19 | 20 | module.exports.makeDirSync = (dir, options) => { 21 | checkPath(dir) 22 | 23 | return fs.mkdirSync(dir, { 24 | mode: getMode(options), 25 | recursive: true 26 | }) 27 | } 28 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/mkdirs/utils.js: -------------------------------------------------------------------------------- 1 | // Adapted from https://github.com/sindresorhus/make-dir 2 | // Copyright (c) Sindre Sorhus (sindresorhus.com) 3 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 5 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 6 | 'use strict' 7 | const path = require('path') 8 | 9 | // https://github.com/nodejs/node/issues/8987 10 | // https://github.com/libuv/libuv/pull/1088 11 | module.exports.checkPath = function checkPath (pth) { 12 | if (process.platform === 'win32') { 13 | const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path.parse(pth).root, '')) 14 | 15 | if (pathHasInvalidWinCharacters) { 16 | const error = new Error(`Path contains invalid characters: ${pth}`) 17 | error.code = 'EINVAL' 18 | throw error 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/move/__tests__/cross-device-utils.js: -------------------------------------------------------------------------------- 1 | const fs = require('graceful-fs') 2 | const path = require('path') 3 | 4 | const { CROSS_DEVICE_PATH } = process.env 5 | let runCrossDeviceTests = !!CROSS_DEVICE_PATH 6 | 7 | if (runCrossDeviceTests) { 8 | // make sure we have permission on device 9 | try { 10 | fs.writeFileSync(path.join(CROSS_DEVICE_PATH, 'file'), 'hi') 11 | } catch { 12 | runCrossDeviceTests = false 13 | throw new Error(`Can't write to device ${CROSS_DEVICE_PATH}`) 14 | } 15 | } else console.log('Skipping cross-device move tests') 16 | 17 | module.exports = { 18 | differentDevice: CROSS_DEVICE_PATH, 19 | ifCrossDeviceEnabled: (fn) => runCrossDeviceTests ? fn : fn.skip 20 | } 21 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/move/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromPromise 4 | module.exports = { 5 | move: u(require('./move')), 6 | moveSync: require('./move-sync') 7 | } 8 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/move/move-sync.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('graceful-fs') 4 | const path = require('path') 5 | const copySync = require('../copy').copySync 6 | const removeSync = require('../remove').removeSync 7 | const mkdirpSync = require('../mkdirs').mkdirpSync 8 | const stat = require('../util/stat') 9 | 10 | function moveSync (src, dest, opts) { 11 | opts = opts || {} 12 | const overwrite = opts.overwrite || opts.clobber || false 13 | 14 | const { srcStat, isChangingCase = false } = stat.checkPathsSync(src, dest, 'move', opts) 15 | stat.checkParentPathsSync(src, srcStat, dest, 'move') 16 | if (!isParentRoot(dest)) mkdirpSync(path.dirname(dest)) 17 | return doRename(src, dest, overwrite, isChangingCase) 18 | } 19 | 20 | function isParentRoot (dest) { 21 | const parent = path.dirname(dest) 22 | const parsedPath = path.parse(parent) 23 | return parsedPath.root === parent 24 | } 25 | 26 | function doRename (src, dest, overwrite, isChangingCase) { 27 | if (isChangingCase) return rename(src, dest, overwrite) 28 | if (overwrite) { 29 | removeSync(dest) 30 | return rename(src, dest, overwrite) 31 | } 32 | if (fs.existsSync(dest)) throw new Error('dest already exists.') 33 | return rename(src, dest, overwrite) 34 | } 35 | 36 | function rename (src, dest, overwrite) { 37 | try { 38 | fs.renameSync(src, dest) 39 | } catch (err) { 40 | if (err.code !== 'EXDEV') throw err 41 | return moveAcrossDevice(src, dest, overwrite) 42 | } 43 | } 44 | 45 | function moveAcrossDevice (src, dest, overwrite) { 46 | const opts = { 47 | overwrite, 48 | errorOnExist: true, 49 | preserveTimestamps: true 50 | } 51 | copySync(src, dest, opts) 52 | return removeSync(src) 53 | } 54 | 55 | module.exports = moveSync 56 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/move/move.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('../fs') 4 | const path = require('path') 5 | const { copy } = require('../copy') 6 | const { remove } = require('../remove') 7 | const { mkdirp } = require('../mkdirs') 8 | const { pathExists } = require('../path-exists') 9 | const stat = require('../util/stat') 10 | 11 | async function move (src, dest, opts = {}) { 12 | const overwrite = opts.overwrite || opts.clobber || false 13 | 14 | const { srcStat, isChangingCase = false } = await stat.checkPaths(src, dest, 'move', opts) 15 | 16 | await stat.checkParentPaths(src, srcStat, dest, 'move') 17 | 18 | // If the parent of dest is not root, make sure it exists before proceeding 19 | const destParent = path.dirname(dest) 20 | const parsedParentPath = path.parse(destParent) 21 | if (parsedParentPath.root !== destParent) { 22 | await mkdirp(destParent) 23 | } 24 | 25 | return doRename(src, dest, overwrite, isChangingCase) 26 | } 27 | 28 | async function doRename (src, dest, overwrite, isChangingCase) { 29 | if (!isChangingCase) { 30 | if (overwrite) { 31 | await remove(dest) 32 | } else if (await pathExists(dest)) { 33 | throw new Error('dest already exists.') 34 | } 35 | } 36 | 37 | try { 38 | // Try w/ rename first, and try copy + remove if EXDEV 39 | await fs.rename(src, dest) 40 | } catch (err) { 41 | if (err.code !== 'EXDEV') { 42 | throw err 43 | } 44 | await moveAcrossDevice(src, dest, overwrite) 45 | } 46 | } 47 | 48 | async function moveAcrossDevice (src, dest, overwrite) { 49 | const opts = { 50 | overwrite, 51 | errorOnExist: true, 52 | preserveTimestamps: true 53 | } 54 | 55 | await copy(src, dest, opts) 56 | return remove(src) 57 | } 58 | 59 | module.exports = move 60 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/output-file/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const u = require('universalify').fromPromise 4 | const fs = require('../fs') 5 | const path = require('path') 6 | const mkdir = require('../mkdirs') 7 | const pathExists = require('../path-exists').pathExists 8 | 9 | async function outputFile (file, data, encoding = 'utf-8') { 10 | const dir = path.dirname(file) 11 | 12 | if (!(await pathExists(dir))) { 13 | await mkdir.mkdirs(dir) 14 | } 15 | 16 | return fs.writeFile(file, data, encoding) 17 | } 18 | 19 | function outputFileSync (file, ...args) { 20 | const dir = path.dirname(file) 21 | if (!fs.existsSync(dir)) { 22 | mkdir.mkdirsSync(dir) 23 | } 24 | 25 | fs.writeFileSync(file, ...args) 26 | } 27 | 28 | module.exports = { 29 | outputFile: u(outputFile), 30 | outputFileSync 31 | } 32 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/path-exists/__tests__/path-exists-sync.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | /* eslint-env mocha */ 3 | 4 | const fs = require('../..') 5 | const path = require('path') 6 | const os = require('os') 7 | const assert = require('assert') 8 | 9 | describe('pathExists()', () => { 10 | let TEST_DIR 11 | 12 | beforeEach(done => { 13 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'path-exists') 14 | fs.emptyDir(TEST_DIR, done) 15 | }) 16 | 17 | afterEach(done => fs.remove(TEST_DIR, done)) 18 | 19 | it('should return false if file does not exist', () => { 20 | assert(!fs.pathExistsSync(path.join(TEST_DIR, 'somefile'))) 21 | }) 22 | 23 | it('should return true if file does exist', () => { 24 | const file = path.join(TEST_DIR, 'exists') 25 | fs.ensureFileSync(file) 26 | assert(fs.pathExistsSync(file)) 27 | }) 28 | }) 29 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/path-exists/__tests__/path-exists.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | /* eslint-env mocha */ 3 | 4 | const fs = require('../..') 5 | const path = require('path') 6 | const os = require('os') 7 | const assert = require('assert') 8 | 9 | describe('pathExists()', () => { 10 | let TEST_DIR 11 | 12 | beforeEach(done => { 13 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'path-exists') 14 | fs.emptyDir(TEST_DIR, done) 15 | }) 16 | 17 | afterEach(done => fs.remove(TEST_DIR, done)) 18 | 19 | it('should return false if file does not exist', () => { 20 | return fs.pathExists(path.join(TEST_DIR, 'somefile')) 21 | .then(exists => assert(!exists)) 22 | }) 23 | 24 | it('should return true if file does exist', () => { 25 | const file = path.join(TEST_DIR, 'exists') 26 | fs.ensureFileSync(file) 27 | return fs.pathExists(file) 28 | .then(exists => assert(exists)) 29 | }) 30 | 31 | it('should pass an empty error parameter to the callback', done => { 32 | const file = path.join(TEST_DIR, 'exists') 33 | fs.ensureFileSync(file) 34 | fs.pathExists(file, (err, exists) => { 35 | assert.ifError(err) 36 | assert(exists) 37 | done() 38 | }) 39 | }) 40 | }) 41 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/path-exists/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const u = require('universalify').fromPromise 3 | const fs = require('../fs') 4 | 5 | function pathExists (path) { 6 | return fs.access(path).then(() => true).catch(() => false) 7 | } 8 | 9 | module.exports = { 10 | pathExists: u(pathExists), 11 | pathExistsSync: fs.existsSync 12 | } 13 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/remove/__tests__/remove-dir.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global beforeEach, describe, it */ 10 | 11 | describe('remove / async / dir', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'remove-async-dir') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | describe('> when dir does not exist', () => { 20 | it('should not throw an error', done => { 21 | const someDir = path.join(TEST_DIR, 'some-dir/') 22 | assert.strictEqual(fs.existsSync(someDir), false) 23 | fse.remove(someDir, err => { 24 | assert.ifError(err) 25 | done() 26 | }) 27 | }) 28 | }) 29 | }) 30 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/remove/__tests__/remove-file.test.js: -------------------------------------------------------------------------------- 1 | // todo 2 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/remove/__tests__/remove-sync-dir.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global beforeEach, describe, it */ 10 | 11 | describe('remove/sync', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'remove-sync') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | describe('+ removeSync()', () => { 20 | it('should delete directories and files synchronously', () => { 21 | assert(fs.existsSync(TEST_DIR)) 22 | fs.writeFileSync(path.join(TEST_DIR, 'somefile'), 'somedata') 23 | fse.removeSync(TEST_DIR) 24 | assert(!fs.existsSync(TEST_DIR)) 25 | }) 26 | 27 | it('should delete an empty directory synchronously', () => { 28 | assert(fs.existsSync(TEST_DIR)) 29 | fse.removeSync(TEST_DIR) 30 | assert(!fs.existsSync(TEST_DIR)) 31 | }) 32 | }) 33 | }) 34 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/remove/__tests__/remove-sync-file.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('fs') 4 | const os = require('os') 5 | const fse = require('../..') 6 | const path = require('path') 7 | const assert = require('assert') 8 | 9 | /* global beforeEach, describe, it */ 10 | 11 | describe('remove/sync', () => { 12 | let TEST_DIR 13 | 14 | beforeEach(done => { 15 | TEST_DIR = path.join(os.tmpdir(), 'fs-extra', 'remove-sync') 16 | fse.emptyDir(TEST_DIR, done) 17 | }) 18 | 19 | describe('+ removeSync()', () => { 20 | it('should delete a file synchronously', () => { 21 | const file = path.join(TEST_DIR, 'file') 22 | fs.writeFileSync(file, 'hello') 23 | assert(fs.existsSync(file)) 24 | fse.removeSync(file) 25 | assert(!fs.existsSync(file)) 26 | }) 27 | }) 28 | }) 29 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/remove/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('graceful-fs') 4 | const u = require('universalify').fromCallback 5 | 6 | function remove (path, callback) { 7 | fs.rm(path, { recursive: true, force: true }, callback) 8 | } 9 | 10 | function removeSync (path) { 11 | fs.rmSync(path, { recursive: true, force: true }) 12 | } 13 | 14 | module.exports = { 15 | remove: u(remove), 16 | removeSync 17 | } 18 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/lib/util/utimes.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fs = require('../fs') 4 | const u = require('universalify').fromPromise 5 | 6 | async function utimesMillis (path, atime, mtime) { 7 | // if (!HAS_MILLIS_RES) return fs.utimes(path, atime, mtime, callback) 8 | const fd = await fs.open(path, 'r+') 9 | 10 | let closeErr = null 11 | 12 | try { 13 | await fs.futimes(fd, atime, mtime) 14 | } finally { 15 | try { 16 | await fs.close(fd) 17 | } catch (e) { 18 | closeErr = e 19 | } 20 | } 21 | 22 | if (closeErr) { 23 | throw closeErr 24 | } 25 | } 26 | 27 | function utimesMillisSync (path, atime, mtime) { 28 | const fd = fs.openSync(path, 'r+') 29 | fs.futimesSync(fd, atime, mtime) 30 | return fs.closeSync(fd) 31 | } 32 | 33 | module.exports = { 34 | utimesMillis: u(utimesMillis), 35 | utimesMillisSync 36 | } 37 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const os = require('os') 4 | const path = require('path') 5 | const klaw = require('klaw') 6 | const Mocha = require('mocha') 7 | 8 | const argv = require('minimist')(process.argv.slice(2)) 9 | 10 | const mochaOpts = { 11 | ui: 'bdd', 12 | reporter: 'dot', 13 | timeout: 30000, 14 | ...argv 15 | } 16 | 17 | const mocha = new Mocha(mochaOpts) 18 | const testExt = '.test.js' 19 | 20 | klaw('./lib').on('readable', function () { 21 | let item 22 | while ((item = this.read())) { 23 | if (!item.stats.isFile()) return 24 | if (item.path.lastIndexOf(testExt) !== (item.path.length - testExt.length)) return 25 | mocha.addFile(item.path) 26 | } 27 | }).on('end', () => { 28 | mocha.run(failures => { 29 | require('./lib').remove(path.join(os.tmpdir(), 'fs-extra'), () => process.exit(failures)) 30 | }) 31 | }) 32 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/fs-extra/test/readme.md: -------------------------------------------------------------------------------- 1 | Looking for the test files? You can find all of the test files in `lib/**/__tests__`. -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) 2011-2022 Isaac Z. Schlueter, Ben Noordhuis, and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/clone.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = clone 4 | 5 | var getPrototypeOf = Object.getPrototypeOf || function (obj) { 6 | return obj.__proto__ 7 | } 8 | 9 | function clone (obj) { 10 | if (obj === null || typeof obj !== 'object') 11 | return obj 12 | 13 | if (obj instanceof Object) 14 | var copy = { __proto__: getPrototypeOf(obj) } 15 | else 16 | var copy = Object.create(null) 17 | 18 | Object.getOwnPropertyNames(obj).forEach(function (key) { 19 | Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key)) 20 | }) 21 | 22 | return copy 23 | } 24 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "graceful-fs", 3 | "description": "A drop-in replacement for fs, making various improvements.", 4 | "version": "4.2.11", 5 | "repository": { 6 | "type": "git", 7 | "url": "https://github.com/isaacs/node-graceful-fs" 8 | }, 9 | "main": "graceful-fs.js", 10 | "directories": { 11 | "test": "test" 12 | }, 13 | "scripts": { 14 | "preversion": "npm test", 15 | "postversion": "npm publish", 16 | "postpublish": "git push origin --follow-tags", 17 | "test": "nyc --silent node test.js | tap -c -", 18 | "posttest": "nyc report" 19 | }, 20 | "keywords": [ 21 | "fs", 22 | "module", 23 | "reading", 24 | "retry", 25 | "retries", 26 | "queue", 27 | "error", 28 | "errors", 29 | "handling", 30 | "EMFILE", 31 | "EAGAIN", 32 | "EINVAL", 33 | "EPERM", 34 | "EACCESS" 35 | ], 36 | "license": "ISC", 37 | "devDependencies": { 38 | "import-fresh": "^2.0.0", 39 | "mkdirp": "^0.5.0", 40 | "rimraf": "^2.2.8", 41 | "tap": "^16.3.4" 42 | }, 43 | "files": [ 44 | "fs.js", 45 | "graceful-fs.js", 46 | "legacy-streams.js", 47 | "polyfills.js", 48 | "clone.js" 49 | ], 50 | "tap": { 51 | "reporter": "classic" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var tap = require('tap') 3 | var dir = __dirname + '/test' 4 | var node = process.execPath 5 | var path = require('path') 6 | 7 | var files = fs.readdirSync(dir) 8 | var env = Object.keys(process.env).reduce(function (env, k) { 9 | env[k] = process.env[k] 10 | return env 11 | }, { 12 | TEST_GRACEFUL_FS_GLOBAL_PATCH: 1 13 | }) 14 | 15 | tap.jobs = require('os').cpus().length 16 | var testFiles = files.filter(function (f) { 17 | return (/\.js$/.test(f) && fs.statSync(dir + '/' + f).isFile()) 18 | }) 19 | 20 | tap.plan(testFiles.length) 21 | testFiles.forEach(function(f) { 22 | tap.test(f, function(t) { 23 | t.spawn(node, ['--expose-gc', 'test/' + f]) 24 | if (path.basename(f) !== 'monkeypatch-by-accident.js') { 25 | t.spawn(node, ['--expose-gc', 'test/' + f], { 26 | env: env 27 | }, '🐵 test/' + f) 28 | } 29 | t.end() 30 | }) 31 | }) 32 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/chown-er-ok.js: -------------------------------------------------------------------------------- 1 | var realFs = require('fs') 2 | 3 | var methods = ['chown', 'chownSync', 'chmod', 'chmodSync'] 4 | methods.forEach(function (method) { 5 | causeErr(method, realFs[method]) 6 | }) 7 | 8 | function causeErr (method, original) { 9 | realFs[method] = function (path) { 10 | var err = makeErr(path, method) 11 | if (!/Sync$/.test(method)) { 12 | var cb = arguments[arguments.length - 1] 13 | process.nextTick(cb.bind(null, err)) 14 | } else { 15 | throw err 16 | } 17 | } 18 | } 19 | 20 | function makeErr (path, method) { 21 | var err = new Error('this is fine') 22 | err.syscall = method.replace(/Sync$/, '') 23 | err.code = path.toUpperCase() 24 | return err 25 | } 26 | 27 | var fs = require('../') 28 | var t = require('tap') 29 | 30 | var errs = ['ENOSYS', 'EINVAL', 'EPERM'] 31 | t.plan(errs.length * methods.length) 32 | 33 | errs.forEach(function (err) { 34 | methods.forEach(function (method) { 35 | var args = [err] 36 | if (/chmod/.test(method)) { 37 | args.push('some mode') 38 | } else { 39 | args.push('some uid', 'some gid') 40 | } 41 | 42 | if (method.match(/Sync$/)) { 43 | t.doesNotThrow(function () { 44 | fs[method].apply(fs, args) 45 | }) 46 | } else { 47 | args.push(function (err) { 48 | t.notOk(err) 49 | }) 50 | fs[method].apply(fs, args) 51 | } 52 | }) 53 | }) 54 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/close.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var path = require('path') 3 | var gfsPath = path.resolve(__dirname, '..', 'graceful-fs.js') 4 | var gfs = require(gfsPath) 5 | var importFresh = require('import-fresh') 6 | var fs$close = fs.close 7 | var fs$closeSync = fs.closeSync 8 | var test = require('tap').test 9 | 10 | test('`close` is patched correctly', function(t) { 11 | t.match(fs$close.toString(), /graceful-fs shared queue/, 'patch fs.close'); 12 | t.match(fs$closeSync.toString(), /graceful-fs shared queue/, 'patch fs.closeSync'); 13 | t.match(gfs.close.toString(), /graceful-fs shared queue/, 'patch gfs.close'); 14 | t.match(gfs.closeSync.toString(), /graceful-fs shared queue/, 'patch gfs.closeSync'); 15 | 16 | var newGFS = importFresh(gfsPath) 17 | t.equal(fs.close, fs$close) 18 | t.equal(fs.closeSync, fs$closeSync) 19 | t.equal(newGFS.close, fs$close) 20 | t.equal(newGFS.closeSync, fs$closeSync) 21 | t.end(); 22 | }) 23 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/do-not-break-if-chdir-is-missing.js: -------------------------------------------------------------------------------- 1 | process.chdir = 'i am not a function so dont call me maybe' 2 | const t = require('tap') 3 | require('../') 4 | t.equal(process.chdir, 'i am not a function so dont call me maybe') 5 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/max-open.js: -------------------------------------------------------------------------------- 1 | var fs = require('../') 2 | var test = require('tap').test 3 | 4 | test('open lots of stuff', function (t) { 5 | // Get around EBADF from libuv by making sure that stderr is opened 6 | // Otherwise Darwin will refuse to give us a FD for stderr! 7 | process.stderr.write('') 8 | 9 | // How many parallel open()'s to do 10 | var n = 1024 11 | var opens = 0 12 | var fds = [] 13 | var going = true 14 | var closing = false 15 | var doneCalled = 0 16 | 17 | for (var i = 0; i < n; i++) { 18 | go() 19 | } 20 | 21 | function go() { 22 | opens++ 23 | fs.open(__filename, 'r', function (er, fd) { 24 | if (er) throw er 25 | fds.push(fd) 26 | if (going) go() 27 | }) 28 | } 29 | 30 | // should hit ulimit pretty fast 31 | setTimeout(function () { 32 | going = false 33 | t.equal(opens - fds.length, n) 34 | done() 35 | }, 100) 36 | 37 | 38 | function done () { 39 | if (closing) return 40 | doneCalled++ 41 | 42 | if (fds.length === 0) { 43 | // First because of the timeout 44 | // Then to close the fd's opened afterwards 45 | // Then this time, to complete. 46 | // Might take multiple passes, depending on CPU speed 47 | // and ulimit, but at least 3 in every case. 48 | t.ok(doneCalled >= 2) 49 | return t.end() 50 | } 51 | 52 | closing = true 53 | setTimeout(function () { 54 | // console.error('do closing again') 55 | closing = false 56 | done() 57 | }, 100) 58 | 59 | // console.error('closing time') 60 | var closes = fds.slice(0) 61 | fds.length = 0 62 | closes.forEach(function (fd) { 63 | fs.close(fd, function (er) { 64 | if (er) throw er 65 | }) 66 | }) 67 | } 68 | }) 69 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/monkeypatch-by-accident.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH) { 4 | require('tap').plan(0, 'obviously not relevant when monkeypatching fs') 5 | process.exit(0) 6 | } 7 | 8 | const fs = require('fs') 9 | 10 | // Save originals before loading graceful-fs 11 | const names = [ 12 | 'ReadStream', 13 | 'WriteStream', 14 | 'FileReadStream', 15 | 'FileWriteStream' 16 | ] 17 | const orig = {} 18 | names.forEach(name => orig[name] = fs[name]) 19 | 20 | const t = require('tap') 21 | const gfs = require('../') 22 | 23 | if (names.some(name => gfs[name] === orig[name])) { 24 | t.plan(0, 'graceful-fs was loaded before this test was run') 25 | process.exit(0) 26 | } 27 | 28 | t.plan(names.length) 29 | names.forEach(name => { 30 | t.ok(fs[name] === orig[name], `fs.${name} unchanged`) 31 | }) 32 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/open.js: -------------------------------------------------------------------------------- 1 | var fs = require('../') 2 | var test = require('tap').test 3 | 4 | test('open an existing file works', function (t) { 5 | var fd = fs.openSync(__filename, 'r') 6 | fs.closeSync(fd) 7 | fs.open(__filename, 'r', function (er, fd) { 8 | if (er) throw er 9 | fs.close(fd, function (er) { 10 | if (er) throw er 11 | t.pass('works') 12 | t.end() 13 | }) 14 | }) 15 | }) 16 | 17 | test('open a non-existing file throws', function (t) { 18 | var er 19 | try { 20 | var fd = fs.openSync('this file does not exist', 'r') 21 | } catch (x) { 22 | er = x 23 | } 24 | t.ok(er, 'should throw') 25 | t.notOk(fd, 'should not get an fd') 26 | t.equal(er.code, 'ENOENT') 27 | 28 | fs.open('neither does this file', 'r', function (er, fd) { 29 | t.ok(er, 'should throw') 30 | t.notOk(fd, 'should not get an fd') 31 | t.equal(er.code, 'ENOENT') 32 | t.end() 33 | }) 34 | }) 35 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/read-write-stream.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var fs = require('../') 4 | var rimraf = require('rimraf') 5 | var mkdirp = require('mkdirp') 6 | var t = require('tap') 7 | 8 | var td = t.testdir({ 9 | files: {} 10 | }) 11 | var p = require('path').resolve(td, 'files') 12 | 13 | process.chdir(td) 14 | 15 | // Make sure to reserve the stderr fd 16 | process.stderr.write('') 17 | 18 | var num = 4097 19 | var paths = new Array(num) 20 | 21 | t.test('write files', function (t) { 22 | rimraf.sync(p) 23 | mkdirp.sync(p) 24 | 25 | t.plan(num) 26 | for (var i = 0; i < num; ++i) { 27 | paths[i] = 'files/file-' + i 28 | var stream = fs.createWriteStream(paths[i]) 29 | stream.on('finish', function () { 30 | t.pass('success') 31 | }) 32 | stream.write('content') 33 | stream.end() 34 | } 35 | }) 36 | 37 | t.test('read files', function (t) { 38 | // now read them 39 | t.plan(num) 40 | for (var i = 0; i < num; ++i) (function (i) { 41 | var stream = fs.createReadStream(paths[i]) 42 | var data = '' 43 | stream.on('data', function (c) { 44 | data += c 45 | }) 46 | stream.on('end', function () { 47 | t.equal(data, 'content') 48 | }) 49 | })(i) 50 | }) 51 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/readdir-options.js: -------------------------------------------------------------------------------- 1 | var fs = require("fs") 2 | var t = require("tap") 3 | 4 | var currentTest 5 | 6 | var strings = ['b', 'z', 'a'] 7 | var buffs = strings.map(function (s) { return Buffer.from(s) }) 8 | var hexes = buffs.map(function (b) { return b.toString('hex') }) 9 | 10 | function getRet (encoding) { 11 | switch (encoding) { 12 | case 'hex': 13 | return hexes 14 | case 'buffer': 15 | return buffs 16 | default: 17 | return strings 18 | } 19 | } 20 | 21 | var readdir = fs.readdir 22 | var failed = false 23 | fs.readdir = function(path, options, cb) { 24 | if (!failed) { 25 | // simulate an EMFILE and then open and close a thing to retry 26 | failed = true 27 | process.nextTick(function () { 28 | var er = new Error('synthetic emfile') 29 | er.code = 'EMFILE' 30 | cb(er) 31 | process.nextTick(function () { 32 | g.closeSync(fs.openSync(__filename, 'r')) 33 | }) 34 | }) 35 | return 36 | } 37 | 38 | failed = false 39 | currentTest.type(cb, 'function') 40 | currentTest.type(options, 'object') 41 | currentTest.ok(options) 42 | process.nextTick(function() { 43 | var ret = getRet(options.encoding) 44 | cb(null, ret) 45 | }) 46 | } 47 | 48 | var g = require("../") 49 | 50 | var encodings = ['buffer', 'hex', 'utf8', null] 51 | encodings.forEach(function (enc) { 52 | t.test('encoding=' + enc, function (t) { 53 | currentTest = t 54 | g.readdir("whatevers", { encoding: enc }, function (er, files) { 55 | if (er) 56 | throw er 57 | t.same(files, getRet(enc).sort()) 58 | t.end() 59 | }) 60 | }) 61 | }) 62 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/readdir-sort.js: -------------------------------------------------------------------------------- 1 | var fs = require("fs") 2 | 3 | var readdir = fs.readdir 4 | fs.readdir = function(path, options, cb) { 5 | process.nextTick(function() { 6 | cb(null, ["b", "z", "a"]) 7 | }) 8 | } 9 | 10 | var g = require("../") 11 | var test = require("tap").test 12 | 13 | test("readdir reorder", function (t) { 14 | g.readdir("whatevers", function (er, files) { 15 | if (er) 16 | throw er 17 | t.same(files, [ "a", "b", "z" ]) 18 | t.end() 19 | }) 20 | }) 21 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/readfile.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var fs = require('../') 4 | var rimraf = require('rimraf') 5 | var mkdirp = require('mkdirp') 6 | var t = require('tap') 7 | 8 | var td = t.testdir({ 9 | files: {} 10 | }) 11 | var p = require('path').resolve(td, 'files') 12 | 13 | process.chdir(td) 14 | 15 | // Make sure to reserve the stderr fd 16 | process.stderr.write('') 17 | 18 | var num = 4097 19 | var paths = new Array(num) 20 | 21 | t.test('write files', function (t) { 22 | rimraf.sync(p) 23 | mkdirp.sync(p) 24 | 25 | t.plan(num) 26 | for (var i = 0; i < num; ++i) { 27 | paths[i] = 'files/file-' + i 28 | fs.writeFile(paths[i], 'content', 'ascii', function (er) { 29 | if (er) 30 | throw er 31 | t.pass('written') 32 | }) 33 | } 34 | }) 35 | 36 | t.test('read files', function (t) { 37 | // now read them 38 | t.plan(num) 39 | for (var i = 0; i < num; ++i) { 40 | fs.readFile(paths[i], 'ascii', function (er, data) { 41 | if (er) 42 | throw er 43 | t.equal(data, 'content') 44 | }) 45 | } 46 | }) 47 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/retry.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var importFresh = require('import-fresh') 4 | var path = require('path') 5 | var realFs = require('fs') 6 | var test = require('tap').test 7 | 8 | var EMFILE = Object.assign(new Error('FAKE EMFILE'), { code: 'EMFILE' }) 9 | 10 | test('eventually times out and returns error', function (t) { 11 | var readFile = realFs.readFile 12 | var realNow = Date.now 13 | 14 | t.teardown(function () { 15 | realFs.readFile = readFile 16 | Date.now = realNow 17 | }) 18 | 19 | realFs.readFile = function (path, options, cb) { 20 | process.nextTick(function () { 21 | cb(EMFILE) 22 | // hijack Date.now _after_ we call the callback, the callback will 23 | // call it when adding the job to the queue, we want to capture it 24 | // any time after that first call so we can pretend it's been 60s 25 | Date.now = function () { 26 | return realNow() + 60000 27 | } 28 | }) 29 | } 30 | 31 | var fs = importFresh(path.dirname(__dirname)) 32 | fs.readFile('literally anything', function (err) { 33 | t.equal(err.code, 'EMFILE', 'eventually got the EMFILE') 34 | t.end() 35 | }) 36 | }) 37 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/separate-old-stream-names.js: -------------------------------------------------------------------------------- 1 | const t = require('tap') 2 | const gfs = require('../') 3 | t.equal(gfs.ReadStream, gfs.FileReadStream) 4 | t.equal(gfs.WriteStream, gfs.FileWriteStream) 5 | const frs = {} 6 | const fws = {} 7 | gfs.FileReadStream = frs 8 | gfs.FileWriteStream = fws 9 | t.equal(gfs.FileReadStream, frs) 10 | t.equal(gfs.FileWriteStream, fws) 11 | t.not(gfs.ReadStream, frs) 12 | t.not(gfs.WriteStream, fws) 13 | t.not(gfs.ReadStream, gfs.FileReadStream) 14 | t.not(gfs.WriteStream, gfs.FileWriteStream) 15 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/stats-uid-gid.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var util = require('util') 3 | var fs = require('fs') 4 | var test = require('tap').test 5 | 6 | // mock fs.statSync to return signed uids/gids 7 | var realStatSync = fs.statSync 8 | fs.statSync = function(path) { 9 | var stats = realStatSync.call(fs, path) 10 | stats.uid = -2 11 | stats.gid = -2 12 | return stats 13 | } 14 | 15 | var gfs = require('../graceful-fs.js') 16 | 17 | test('graceful fs uses same stats constructor as fs', function (t) { 18 | t.equal(gfs.Stats, fs.Stats, 'should reference the same constructor') 19 | 20 | if (!process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH) { 21 | t.equal(fs.statSync(__filename).uid, -2) 22 | t.equal(fs.statSync(__filename).gid, -2) 23 | } 24 | 25 | t.equal(gfs.statSync(__filename).uid, 0xfffffffe) 26 | t.equal(gfs.statSync(__filename).gid, 0xfffffffe) 27 | 28 | t.end() 29 | }) 30 | 31 | test('does not throw when async stat fails', function (t) { 32 | gfs.stat(__filename + ' this does not exist', function (er, stats) { 33 | t.ok(er) 34 | t.notOk(stats) 35 | t.end() 36 | }) 37 | }) 38 | 39 | test('throws ENOENT when sync stat fails', function (t) { 40 | t.throws(function() { 41 | gfs.statSync(__filename + ' this does not exist') 42 | }, /ENOENT/) 43 | t.end() 44 | }) 45 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/stats.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var gfs = require('../graceful-fs.js') 3 | var test = require('tap').test 4 | 5 | test('graceful fs uses same stats constructor as fs', function (t) { 6 | t.equal(gfs.Stats, fs.Stats, 'should reference the same constructor') 7 | t.ok(fs.statSync(__filename) instanceof fs.Stats, 8 | 'should be instance of fs.Stats') 9 | t.ok(gfs.statSync(__filename) instanceof fs.Stats, 10 | 'should be instance of fs.Stats') 11 | t.end() 12 | }) 13 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/windows-rename-polyfill.js: -------------------------------------------------------------------------------- 1 | process.env.GRACEFUL_FS_PLATFORM = 'win32' 2 | var t = require('tap') 3 | 4 | var fs = require('fs') 5 | 6 | var ers = ['EPERM', 'EBUSY', 'EACCES'] 7 | t.plan(ers.length) 8 | ers.forEach(function(code) { 9 | t.test(code, function(t) { 10 | fs.rename = function (a, b, cb) { 11 | setTimeout(function () { 12 | var er = new Error(code + ' blerg') 13 | er.code = code 14 | cb(er) 15 | }) 16 | } 17 | 18 | var gfs = require('../') 19 | var a = __dirname + '/a' 20 | var b = __dirname + '/b' 21 | 22 | t.test('setup', function (t) { 23 | try { fs.mkdirSync(a) } catch (e) {} 24 | try { fs.mkdirSync(b) } catch (e) {} 25 | t.end() 26 | }) 27 | 28 | t.test('rename', { timeout: 100 }, function (t) { 29 | t.plan(1) 30 | 31 | gfs.rename(a, b, function (er) { 32 | t.ok(er) 33 | }) 34 | }) 35 | 36 | t.test('cleanup', function (t) { 37 | try { fs.rmdirSync(a) } catch (e) {} 38 | try { fs.rmdirSync(b) } catch (e) {} 39 | t.end() 40 | }) 41 | 42 | t.end() 43 | }) 44 | }) 45 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/graceful-fs/test/zzz-avoid-memory-leak.js: -------------------------------------------------------------------------------- 1 | var importFresh = require('import-fresh'); 2 | var t = require('tap') 3 | var v8 4 | try { 5 | v8 = require('v8') 6 | } catch (er) {} 7 | 8 | if (!v8 || !v8.getHeapStatistics || typeof v8.getHeapStatistics().number_of_detached_contexts !== 'number') { 9 | t.plan(0, 'no reliable context tracking available') 10 | process.exit(0) 11 | } 12 | 13 | if (typeof global.gc !== 'function') { 14 | t.plan(0, '--expose_gc not enabled') 15 | process.exit(0) 16 | } 17 | 18 | function checkHeap (t) { 19 | var v8stats = v8.getHeapStatistics() 20 | t.equal(v8stats.number_of_detached_contexts, 0, 'no detached contexts') 21 | } 22 | 23 | t.test('no memory leak when loading multiple times', function(t) { 24 | t.plan(1); 25 | importFresh(process.cwd() + '/graceful-fs.js') // node 0.10-5 were getting: Cannot find module '../' 26 | // simulate project with 4000 tests 27 | var i = 0; 28 | function importFreshGracefulFs() { 29 | importFresh(process.cwd() + '/graceful-fs.js'); 30 | if (i < 4000) { 31 | i++; 32 | process.nextTick(importFreshGracefulFs) 33 | } else { 34 | global.gc() 35 | checkHeap(t); 36 | t.end(); 37 | } 38 | } 39 | importFreshGracefulFs(); 40 | }) 41 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/jsonfile/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2012-2015, JP Richardson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files 6 | (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, 7 | merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 13 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS 14 | OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 15 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 16 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/jsonfile/appveyor.yml: -------------------------------------------------------------------------------- 1 | # Test against this version of Node.js 2 | environment: 3 | matrix: 4 | # node.js 5 | - nodejs_version: "10" 6 | - nodejs_version: "12" 7 | 8 | 9 | # Install scripts. (runs after repo cloning) 10 | install: 11 | # Get the latest stable version of Node.js or io.js 12 | - ps: Install-Product node $env:nodejs_version 13 | # install modules 14 | - npm config set loglevel warn 15 | - npm install --silent 16 | 17 | # Post-install test scripts. 18 | test_script: 19 | # Output useful info for debugging. 20 | - node --version 21 | - npm --version 22 | # run tests 23 | - npm test 24 | 25 | # Don't actually build. 26 | build: off 27 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/jsonfile/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jsonfile", 3 | "version": "6.1.0", 4 | "description": "Easily read/write JSON files.", 5 | "repository": { 6 | "type": "git", 7 | "url": "git@github.com:jprichardson/node-jsonfile.git" 8 | }, 9 | "keywords": [ 10 | "read", 11 | "write", 12 | "file", 13 | "json", 14 | "fs", 15 | "fs-extra" 16 | ], 17 | "author": "JP Richardson ", 18 | "license": "MIT", 19 | "dependencies": { 20 | "universalify": "^2.0.0" 21 | }, 22 | "optionalDependencies": { 23 | "graceful-fs": "^4.1.6" 24 | }, 25 | "devDependencies": { 26 | "mocha": "^8.2.0", 27 | "rimraf": "^2.4.0", 28 | "standard": "^16.0.1" 29 | }, 30 | "main": "index.js", 31 | "files": [ 32 | "index.js", 33 | "utils.js" 34 | ], 35 | "scripts": { 36 | "lint": "standard", 37 | "test": "npm run lint && npm run unit", 38 | "unit": "mocha" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/jsonfile/utils.js: -------------------------------------------------------------------------------- 1 | function stringify (obj, { EOL = '\n', finalEOL = true, replacer = null, spaces } = {}) { 2 | const EOF = finalEOL ? EOL : '' 3 | const str = JSON.stringify(obj, replacer, spaces) 4 | 5 | return str.replace(/\n/g, EOL) + EOF 6 | } 7 | 8 | function stripBom (content) { 9 | // we do this because JSON.parse would convert it to a utf8 string if encoding wasn't specified 10 | if (Buffer.isBuffer(content)) content = content.toString('utf8') 11 | return content.replace(/^\uFEFF/, '') 12 | } 13 | 14 | module.exports = { stringify, stripBom } 15 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/universalify/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2017, Ryan Zimmerman 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the 'Software'), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/universalify/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | exports.fromCallback = function (fn) { 4 | return Object.defineProperty(function (...args) { 5 | if (typeof args[args.length - 1] === 'function') fn.apply(this, args) 6 | else { 7 | return new Promise((resolve, reject) => { 8 | args.push((err, res) => (err != null) ? reject(err) : resolve(res)) 9 | fn.apply(this, args) 10 | }) 11 | } 12 | }, 'name', { value: fn.name }) 13 | } 14 | 15 | exports.fromPromise = function (fn) { 16 | return Object.defineProperty(function (...args) { 17 | const cb = args[args.length - 1] 18 | if (typeof cb !== 'function') return fn.apply(this, args) 19 | else { 20 | args.pop() 21 | fn.apply(this, args).then(r => cb(null, r), cb) 22 | } 23 | }, 'name', { value: fn.name }) 24 | } 25 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/node_modules/universalify/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "universalify", 3 | "version": "2.0.1", 4 | "description": "Make a callback- or promise-based function support both promises and callbacks.", 5 | "keywords": [ 6 | "callback", 7 | "native", 8 | "promise" 9 | ], 10 | "homepage": "https://github.com/RyanZim/universalify#readme", 11 | "bugs": "https://github.com/RyanZim/universalify/issues", 12 | "license": "MIT", 13 | "author": "Ryan Zimmerman ", 14 | "files": [ 15 | "index.js" 16 | ], 17 | "repository": { 18 | "type": "git", 19 | "url": "git+https://github.com/RyanZim/universalify.git" 20 | }, 21 | "scripts": { 22 | "test": "standard && nyc --reporter text --reporter lcovonly tape test/*.js | colortape" 23 | }, 24 | "devDependencies": { 25 | "colortape": "^0.1.2", 26 | "coveralls": "^3.0.1", 27 | "nyc": "^15.0.0", 28 | "standard": "^14.3.1", 29 | "tape": "^5.0.1" 30 | }, 31 | "engines": { 32 | "node": ">= 10.0.0" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tyranoscript", 3 | "main": "tyranoeng/index.html", 4 | "window": { 5 | "title": "TyranoScript Linux", 6 | "icon": "link.png", 7 | "toolbar": false, 8 | "frame": true, 9 | "width": 745, 10 | "height": 400, 11 | "position": "center" 12 | }, 13 | "webkit": { 14 | "plugin": true 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tyranoscript", 3 | "main": "app://./index.html", 4 | "window": { 5 | "title": "setup tyrano engine", 6 | "icon": "link.png", 7 | "toolbar": false, 8 | "frame": true, 9 | "width": 640, 10 | "height": 480, 11 | "position": "mouse", 12 | "min_width": 640, 13 | "min_height": 480 14 | }, 15 | "webkit": { 16 | "plugin": true 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/compiler-latest/compiler.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/compiler-latest/compiler.jar -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/bgimage/room.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/bgimage/room.jpg -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/bgimage/rouka.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/bgimage/rouka.jpg -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/bgm/music.m4a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/bgm/music.m4a -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/bgm/music.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/bgm/music.ogg -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/builder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/builder.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/angry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/angry.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/doki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/doki.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/happy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/happy.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/normal.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/sad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/akane/sad.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/angry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/angry.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/happy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/happy.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/normal.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/sad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/sad.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/tohoho.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/fgimage/chara/yamato/tohoho.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/ExQuestion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/ExQuestion.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/Thumbs.db -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/auto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/auto.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/auto2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/auto2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/close.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/close2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/close2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/load.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/load.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/load2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/load2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/log.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/log2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/log2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/menu.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/menu2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/menu2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/qload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/qload.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/qload2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/qload2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/qsave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/qsave.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/qsave2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/qsave2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/save.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/save2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/save2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/screen.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/screen2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/screen2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/skip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/skip.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/skip2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/skip2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/sleep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/sleep.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/sleep2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/sleep2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/title.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/title2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/button/title2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/arrow_next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/arrow_next.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/arrow_prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/arrow_prev.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/bg_config.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/bg_config.jpg -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/button_unread_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/button_unread_off.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/button_unread_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/button_unread_on.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_btn.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_btn_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_btn_back.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_btn_back2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_btn_back2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_set.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_set.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_uts_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_uts_off.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_uts_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/c_uts_on.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/label_cg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/label_cg.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/label_config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/label_config.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/label_recollection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/label_recollection.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/menu_button_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/menu_button_close.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/menu_button_close2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/menu_button_close2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/message_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/config/message_box.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/image/frame.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/scenario/first.ks: -------------------------------------------------------------------------------- 1 | ;一番最初に呼び出されるファイル 2 | 3 | [title name="ティラノスクリプト解説"] 4 | 5 | [stop_keyconfig] 6 | 7 | 8 | ;ティラノスクリプトが標準で用意している便利なライブラリ群 9 | ;コンフィグ、CG、回想モードを使う場合は必須 10 | @call storage="tyrano.ks" 11 | 12 | ;ゲームで必ず必要な初期化処理はこのファイルに記述するのがオススメ 13 | 14 | ;メッセージボックスは非表示 15 | @layopt layer="message" visible=false 16 | 17 | ;最初は右下のメニューボタンを非表示にする 18 | [hidemenubutton] 19 | 20 | ;タイトル画面へ移動 21 | @jump storage="title.ks" 22 | 23 | [s] 24 | 25 | 26 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/scenario/make.ks: -------------------------------------------------------------------------------- 1 | ;このファイルは削除しないでください! 2 | ; 3 | ;make.ks はデータをロードした時に呼ばれる特別なKSファイルです。 4 | ;Fixレイヤーの初期化など、ロード時点で再構築したい処理をこちらに記述してください。 5 | ; 6 | ; 7 | 8 | ;make.ks はロード時にcallとして呼ばれるため、return必須です。 9 | [return] 10 | 11 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/release/master_tyrano/data/scenario/title.ks: -------------------------------------------------------------------------------- 1 | 2 | [cm] 3 | 4 | @clearstack 5 | @bg storage ="title.jpg" time=100 6 | @wait time = 200 7 | 8 | *start 9 | 10 | [button x=100 y=250 graphic="title/button_start.png" target="gamestart"] 11 | [button x=100 y=320 graphic="title/button_load.png" role="load" ] 12 | [button x=100 y=390 graphic="title/button_cg.png" storage="cg.ks" ] 13 | [button x=100 y=460 graphic="title/button_replay.png" storage="replay.ks" ] 14 | [button x=100 y=530 graphic="title/button_config.png" role="sleepgame" storage="config.ks" ] 15 | 16 | [s] 17 | 18 | *gamestart 19 | ;一番最初のシナリオファイルへジャンプする 20 | @jump storage="scene1.ks" 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/audio/silent.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/audio/silent.mp3 -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/font.css: -------------------------------------------------------------------------------- 1 | /*ウェブフォントを使用する場合はここに定義を追加して下さい*/ 2 | 3 | @font-face { 4 | font-family:"mfrules"; 5 | src:url("../data/others/Mf_Break_The_Rules.eot?") format("eot"), 6 | url("../data/others/Mf_Break_The_Rules.woff") format("woff"), 7 | url("../data/others/Mf_Break_The_Rules.ttf") format("truetype"), 8 | url("../data/others/Mf_Break_The_Rules.svg#MfBreakTheRules") format("svg"); 9 | font-weight:normal;font-style:normal; 10 | } 11 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/html/backlog.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | 6 | 7 | 10 | 11 |
12 | 13 |
14 | 15 |
16 | 17 | 18 | 19 | 20 |
-------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/arrow_down.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/arrow_next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/arrow_next.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/arrow_prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/arrow_prev.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/arrow_up.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/bg_base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/bg_base.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/bg_config.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/bg_config.jpg -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/button_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/button_menu.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_backlog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_backlog.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_cg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_cg.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_config.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_load.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_load.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_menu.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_recollection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_recollection.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/label_save.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_close.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_close2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_close2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_load.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_load.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_load2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_load2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_save.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_save2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_save2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_skip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_skip.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_skip2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_skip2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_title.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_title2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_button_title2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_message_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_message_close.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_message_close2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/menu_message_close2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/nextpage.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/nextpage.gif -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/noimage.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/saveslot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/saveslot1.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/saveslot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/saveslot2.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/thumbnail_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/thumbnail_save.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/images/system/transparent.png -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/lang.js: -------------------------------------------------------------------------------- 1 | window.tyrano_lang = { 2 | 3 | word : { 4 | 5 | "go_title":"タイトルに戻ります。よろしいですね?", 6 | "exit_game":"ウィンドウを閉じて終了します。よろしいですね?", 7 | "not_saved":"まだ、保存されているデータがありません", 8 | "tag":"タグ", 9 | "not_exists":"は存在しません", 10 | "error":"エラーが発生しました。スクリプトを確認して下さい", 11 | "label":"ラベル", 12 | "label_double":"は同一シナリオファイル内に重複しています", 13 | "error_occurred":"エラーが発生しました" 14 | }, 15 | 16 | novel : { 17 | "file_menu_button_save":"menu_button_save.gif", 18 | "file_menu_button_load":"menu_button_load.gif", 19 | "file_menu_button_message_close":"menu_message_close.gif", 20 | "file_menu_button_skip":"menu_button_skip.gif", 21 | "file_menu_button_title":"menu_button_title.gif", 22 | "file_menu_button_close":"menu_button_close.png", 23 | "file_menu_bg":"menu_bg.jpg", 24 | "file_save_bg":"menu_save_bg.jpg", 25 | "file_load_bg":"menu_load_bg.jpg", 26 | "file_button_menu":"button_menu.png", 27 | "error_occurred":"error occurred" 28 | 29 | 30 | } 31 | 32 | }; 33 | 34 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/libs/textillate/assets/jquery.fittext.js: -------------------------------------------------------------------------------- 1 | /*global jQuery */ 2 | /*! 3 | * FitText.js 1.1 4 | * 5 | * Copyright 2011, Dave Rupert http://daverupert.com 6 | * Released under the WTFPL license 7 | * http://sam.zoy.org/wtfpl/ 8 | * 9 | * Date: Thu May 05 14:23:00 2011 -0600 10 | */ 11 | 12 | (function( $ ){ 13 | 14 | $.fn.fitText = function( kompressor, options ) { 15 | 16 | // Setup options 17 | var compressor = kompressor || 1, 18 | settings = $.extend({ 19 | 'minFontSize' : Number.NEGATIVE_INFINITY, 20 | 'maxFontSize' : Number.POSITIVE_INFINITY 21 | }, options); 22 | 23 | return this.each(function(){ 24 | 25 | // Store the object 26 | var $this = $(this); 27 | 28 | // Resizer() resizes items based on the object width divided by the compressor * 10 29 | var resizer = function () { 30 | $this.css('font-size', Math.max(Math.min($this.width() / (compressor*10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize))); 31 | }; 32 | 33 | // Call once to set. 34 | resizer(); 35 | 36 | // Call on resize. Opera debounces their resize by default. 37 | $(window).on('resize', resizer); 38 | 39 | }); 40 | 41 | }; 42 | 43 | })( jQuery ); -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/plugins/kag/kag.event.js: -------------------------------------------------------------------------------- 1 | 2 | //イベント管理用のクラス 3 | tyrano.plugin.kag.event ={ 4 | 5 | tyrano:null, 6 | 7 | init:function(){ 8 | 9 | //alert("kag.order 初期化"); 10 | //this.tyrano.test(); 11 | 12 | //同じディレクトリにある、KAG関連のデータを読み込み 13 | 14 | }, 15 | 16 | //イベント用のエレメントを設定する 17 | addEventElement:function(obj){ 18 | 19 | var j_obj = obj.j_target; 20 | 21 | j_obj.addClass("event-setting-element"); 22 | j_obj.attr("data-event-target",obj.target); 23 | j_obj.attr("data-event-storage",obj.storage); 24 | j_obj.attr("data-event-tag",obj.tag); 25 | 26 | //パラメータを格納してみてはどうか? 27 | j_obj.attr("data-event-pm",JSON.stringify(obj.pm)); 28 | 29 | 30 | } 31 | }; 32 | 33 | 34 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranobuilder/tyranoeng/tyrano/plugins/kag/kag.studio.js: -------------------------------------------------------------------------------- 1 | //ティラノスタジオ用のクラス 2 | //デバッグツール向けの処理が集中します。 3 | 4 | tyrano.plugin.kag.studio = { 5 | 6 | app : {}, //ライダー側のルート 7 | tyrano : null, 8 | rider_view : {}, 9 | ipc:{}, 10 | init : function() { 11 | //alert("init rider"); 12 | 13 | if(window.navigator.userAgent.indexOf("TyranoStudio") !=-1){ 14 | 15 | TYRANO.kag.is_studio = true; 16 | 17 | this.ipc = require('electron'); 18 | 19 | this.ipc.ipcRenderer.on('ping', (event, arg) => { 20 | console.log("wwwwwwwwwwwwwww"); 21 | console.log(arg); 22 | ipc.ipcRenderer.send('asynchronous-reply', JSON.stringify(arg)); 23 | }); 24 | 25 | } 26 | 27 | //ユーザーエージェントに TyranoStudio があるかどうかで判定する 28 | /* 29 | ipcRenderer.on('ping', (event, arg) => { 30 | console.log(arg) // pong 31 | }) 32 | */ 33 | 34 | 35 | }, 36 | 37 | send:function(key,json_obj){ 38 | 39 | this.ipc.ipcRenderer.send(key, JSON.stringify(json_obj)); 40 | 41 | }, 42 | 43 | pushConsole:function(obj){ 44 | 45 | this.send("replay-console",obj); 46 | 47 | }, 48 | 49 | complete : function(TG) { 50 | 51 | }, 52 | 53 | 54 | 55 | }; 56 | 57 | -------------------------------------------------------------------------------- /nwjs/packagefiles/tyranodataextract: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/tyranodataextract -------------------------------------------------------------------------------- /nwjs/packagefiles/yad: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/packagefiles/yad -------------------------------------------------------------------------------- /nwjs/plugins-autoinstall/pluginsconf.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/0314bd0f14eb0133509b4f3223f229d64d3ceed9/nwjs/plugins-autoinstall/pluginsconf.txt -------------------------------------------------------------------------------- /nwjs/plugins-autoinstall/template-plugins-autoinstall/pluginsconf.txt: -------------------------------------------------------------------------------- 1 | {"name":"CustomizeMaxSaveFile","status":true,"description":"Customize max save file number","parameters":{"SaveFileNumber":"500"}}, 2 | -------------------------------------------------------------------------------- /nwjs/uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | 5 | 6 | rm -rf "$HOME/desktopapps/nwjs" && rm "$HOME/.local/share/applications/nwjstest.desktop" && rm "$HOME/.local/share/applications/nwjsoptions.desktop" && rm "$HOME/.local/bin/rpgmaker-linux" && rm -rf "$HOME/.steam/steam/compatibilitytools.d/rpgmaker-linux-cicpoffs" 7 | sed -e 's@x-scheme-handler/rpgmakermp.*@@g' -i /home/pasha/.config/mimeapps.list 8 | -------------------------------------------------------------------------------- /proversion/proversion_install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | 5 | ITCHIOFILEPATH="$HOME/.config/itchiokey.txt" 6 | 7 | 8 | arch=$(uname -m) 9 | 10 | 11 | 12 | yadinstall() { 13 | wget "https://github.com/bakustarver/rpgmakermlinux-cicpoffs/releases/download/libraries/yad.$arch" -O /tmp/yad 14 | chmod +x /tmp/yad 15 | 16 | } 17 | 18 | 19 | 20 | if [ -z "$@" ]; then 21 | if ! [ -f "/tmp/yad" ]; then 22 | yadinstall 23 | fi 24 | apikey=$(/tmp/yad --width=600 --entry --entry-label="Your itch io api key" --title="Pro version installer") 25 | gui=true 26 | else 27 | apikey=$(echo "$@") 28 | fi 29 | 30 | 31 | jsondata=$(wget -qO- "https://api.itch.io/games/2577304/uploads?api_key=$apikey") 32 | 33 | if [ -z "$jsondata" ]; then 34 | if [ "$gui" = "true" ]; then 35 | /tmp/yad --text "Cannot get data from server, wrong itch.io key?" 36 | # else 37 | fi 38 | echo "Cannot get data from server, wrong itch.io key?" 39 | exit 1 40 | else 41 | echo "$apikey" > "$ITCHIOFILEPATH" 42 | fi 43 | 44 | export ITCH_API_KEY="$apikey" 45 | 46 | 47 | wget -qO- "https://raw.githubusercontent.com/bakustarver/rpgmakermlinux-cicpoffs/main/installgithub.sh" | bash 48 | 49 | -------------------------------------------------------------------------------- /uninstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | 5 | mainfdf="$HOME/.config/defrpgmakerlinuxpath.txt" 6 | if [ -f "$mainfdf" ] && [ -s "$mainfdf" ]; then 7 | mainfd=$(cat "$mainfdf") 8 | if [ -d "$mainfd" ] && [ -n "$mainfd" ]; then 9 | rm -rf "$mainfd/desktopapps/"; 10 | fi 11 | else 12 | rm -rf "$HOME/desktopapps/"; 13 | fi 14 | rm "$HOME/.local/share/applications/nwjstest.desktop"; 15 | rm "$HOME/.local/share/applications/nwjsoptions.desktop"; 16 | rm "$HOME/.local/bin/rpgmaker-linux"; 17 | rm -rf "$HOME/.local/share/Steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/"; 18 | rm -rf "$HOME/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/" 19 | sed -e 's@x-scheme-handler/rpgmakermp.*@@g' -i "$HOME/.config/mimeapps.list" 20 | -------------------------------------------------------------------------------- /uninstallgithub.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | 5 | mainfdf="$HOME/.config/defrpgmakerlinuxpath.txt" 6 | if [ -f "$mainfdf" ] && [ -s "$mainfdf" ]; then 7 | mainfd=$(cat "$mainfdf") 8 | if [ -d "$mainfd" ] && [ -n "$mainfd" ]; then 9 | rm -rf "$mainfd/desktopapps/"; 10 | fi 11 | else 12 | rm -rf "$HOME/desktopapps/"; 13 | fi 14 | rm "$HOME/.local/share/applications/nwjstest.desktop"; 15 | rm "$HOME/.local/share/applications/nwjsoptions.desktop"; 16 | rm "$HOME/.local/bin/rpgmaker-linux"; 17 | rm -rf "$HOME/.local/share/Steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/"; 18 | rm -rf "$HOME/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/rpgmaker-linux-steam-wrapper/" 19 | sed -e 's@x-scheme-handler/rpgmakermp.*@@g' -i "$HOME/.config/mimeapps.list" 20 | --------------------------------------------------------------------------------