Pendrokar commited on
Commit
ed18ebf
β€’
1 Parent(s): 1b02383

relocate folders

Browse files
This view is limited to 50 files because it contains too many changes. Β  See raw diff
Files changed (50) hide show
  1. {arpabet β†’ resources/app/arpabet}/custom.json +0 -0
  2. {arpabet β†’ resources/app/arpabet}/xvasynth.json +0 -0
  3. {javascript β†’ resources/app/javascript}/appLogger.js +0 -0
  4. {javascript β†’ resources/app/javascript}/arpabet.js +0 -0
  5. {javascript β†’ resources/app/javascript}/batch.js +0 -0
  6. {javascript β†’ resources/app/javascript}/dragdrop_model_install.js +0 -0
  7. {javascript β†’ resources/app/javascript}/editor.js +3 -3
  8. {javascript β†’ resources/app/javascript}/embeddings.js +0 -0
  9. {javascript β†’ resources/app/javascript}/i18n.js +0 -0
  10. {javascript β†’ resources/app/javascript}/nexus.js +0 -0
  11. javascript/script.js β†’ resources/app/javascript/noelectron.js +4 -38
  12. {javascript β†’ resources/app/javascript}/outputFiles.js +0 -0
  13. {javascript β†’ resources/app/javascript}/plugins_manager.js +0 -0
  14. {javascript β†’ resources/app/javascript}/settingsMenu.js +0 -0
  15. {javascript β†’ resources/app/javascript}/speech2speech.js +0 -0
  16. {javascript β†’ resources/app/javascript}/style_embeddings.js +0 -0
  17. {javascript β†’ resources/app/javascript}/textarea.js +0 -0
  18. {javascript β†’ resources/app/javascript}/totd.js +0 -0
  19. {javascript β†’ resources/app/javascript}/util.js +0 -0
  20. {javascript β†’ resources/app/javascript}/workbench.js +0 -0
  21. {lib β†’ resources/app/lib}/AbortControllerPolyfill.js +0 -0
  22. {lib β†’ resources/app/lib}/OrbitControls.js +0 -0
  23. {lib β†’ resources/app/lib}/Three.min.js +0 -0
  24. {lib β†’ resources/app/lib}/Three.sprite.js +0 -0
  25. {lib β†’ resources/app/lib}/Three.texture.js +0 -0
  26. {lib β†’ resources/app/lib}/TrackballControls.js +0 -0
  27. {lib β†’ resources/app/lib}/ffmpeg_normalize/__init__.py +0 -0
  28. {lib β†’ resources/app/lib}/ffmpeg_normalize/__main__.py +0 -0
  29. {lib β†’ resources/app/lib}/ffmpeg_normalize/_cmd_utils.py +0 -0
  30. {lib β†’ resources/app/lib}/ffmpeg_normalize/_errors.py +0 -0
  31. {lib β†’ resources/app/lib}/ffmpeg_normalize/_ffmpeg_normalize.py +0 -0
  32. {lib β†’ resources/app/lib}/ffmpeg_normalize/_logger.py +0 -0
  33. {lib β†’ resources/app/lib}/ffmpeg_normalize/_media_file.py +0 -0
  34. {lib β†’ resources/app/lib}/ffmpeg_normalize/_streams.py +0 -0
  35. {lib β†’ resources/app/lib}/ffmpeg_normalize/_version.py +0 -0
  36. {lib β†’ resources/app/lib}/osutils.js +0 -0
  37. {lib β†’ resources/app/lib}/wavesurfer.js +0 -0
  38. {lib β†’ resources/app/lib}/xp_error.mp3 +0 -0
  39. {plugins β†’ resources/app/plugins}/eg_custom_event/frontendPlugin.js +0 -0
  40. {plugins β†’ resources/app/plugins}/eg_custom_event/main.py +0 -0
  41. {plugins β†’ resources/app/plugins}/eg_custom_event/plugin.json +0 -0
  42. {plugins β†’ resources/app/plugins}/test_plugin/custom_event.py +0 -0
  43. {plugins β†’ resources/app/plugins}/test_plugin/frontendPlugin.js +0 -0
  44. {plugins β†’ resources/app/plugins}/test_plugin/main.py +0 -0
  45. {plugins β†’ resources/app/plugins}/test_plugin/plugin.json +0 -0
  46. {plugins β†’ resources/app/plugins}/test_plugin/start.py +0 -0
  47. {plugins β†’ resources/app/plugins}/test_plugin/style1.css +0 -0
  48. {plugins β†’ resources/app/plugins}/test_plugin/test.py +0 -0
  49. {python β†’ resources/app/python}/audio_post.py +0 -0
  50. {python β†’ resources/app/python}/audio_processing.py +0 -0
{arpabet β†’ resources/app/arpabet}/custom.json RENAMED
File without changes
{arpabet β†’ resources/app/arpabet}/xvasynth.json RENAMED
File without changes
{javascript β†’ resources/app/javascript}/appLogger.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/arpabet.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/batch.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/dragdrop_model_install.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/editor.js RENAMED
@@ -1984,9 +1984,9 @@ window.populateLanguagesDropdownsFromModel = (dropdown, modelJson=undefined) =>
1984
 
1985
  Object.keys(window.supportedLanguages).sort((a,b)=>window.supportedLanguages[a]<window.supportedLanguages[b]?-1:1).forEach(key => {
1986
  if (!modelJson || !modelJson.lang_capabilities || modelJson.lang_capabilities.includes(key)) {
1987
- const opt = createElem("option", window.supportedLanguages[key])
1988
- opt.value = key
1989
- dropdown.appendChild(opt)
1990
  }
1991
  })
1992
  }
 
1984
 
1985
  Object.keys(window.supportedLanguages).sort((a,b)=>window.supportedLanguages[a]<window.supportedLanguages[b]?-1:1).forEach(key => {
1986
  if (!modelJson || !modelJson.lang_capabilities || modelJson.lang_capabilities.includes(key)) {
1987
+ // const opt = createElem("option", window.supportedLanguages[key])
1988
+ // opt.value = key
1989
+ // dropdown.appendChild(opt)
1990
  }
1991
  })
1992
  }
{javascript β†’ resources/app/javascript}/embeddings.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/i18n.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/nexus.js RENAMED
File without changes
javascript/script.js β†’ resources/app/javascript/noelectron.js RENAMED
@@ -1,37 +1,9 @@
1
  "use strict"
2
  window.appVersion = "v3.0.3"
3
 
4
- window.PRODUCTION = module.filename.includes("resources")
5
- const path = window.PRODUCTION ? "./resources/app" : "."
6
- window.path = path
7
-
8
- const fs = require("fs")
9
- const zipdir = require('zip-dir')
10
- const {shell, ipcRenderer, clipboard} = require("electron")
11
- const doFetch = require("node-fetch")
12
- const {xVAAppLogger} = require("./javascript/appLogger.js")
13
- window.appLogger = new xVAAppLogger(`./app.log`, window.appVersion)
14
- process.on(`uncaughtException`, (data, origin) => {window.appLogger.log(`uncaughtException: ${data}`);window.appLogger.log(`uncaughtException: ${origin}`)})
15
- window.onerror = (event, source, lineno, colno, error) => {window.appLogger.log(`onerror: ${error.stack}`)}
16
- require("./javascript/i18n.js")
17
- require("./javascript/util.js")
18
- require("./javascript/nexus.js")
19
- require("./javascript/dragdrop_model_install.js")
20
- require("./javascript/embeddings.js")
21
- require("./javascript/totd.js")
22
- require("./javascript/arpabet.js")
23
- require("./javascript/style_embeddings.js")
24
  const {Editor} = require("./javascript/editor.js")
25
  require("./javascript/textarea.js")
26
- const {saveUserSettings, deleteFolderRecursive} = require("./javascript/settingsMenu.js")
27
  const xVASpeech = require("./javascript/speech2speech.js")
28
- require("./javascript/batch.js")
29
- require("./javascript/outputFiles.js")
30
- require("./javascript/workbench.js")
31
- const er = require('@electron/remote')
32
- window.electronBrowserWindow = er.getCurrentWindow()
33
- const child = require("child_process").execFile
34
- const spawn = require("child_process").spawn
35
 
36
  // Newly introduced in v3. I will slowly start moving global context variables into this, and update code throughout to reference this
37
  // instead of old variables such as window.games, window.currentModel, etc.
@@ -43,12 +15,6 @@ if (window.PRODUCTION) {
43
  window.pythonProcess = spawn(`${path}/cpython_${window.userSettings.installation}/server.exe`, {stdio: "ignore"})
44
  }
45
 
46
- const {PluginsManager} = require("./javascript/plugins_manager.js")
47
- window.pluginsContext = {}
48
- window.pluginsManager = new PluginsManager(window.path, window.appLogger, window.appVersion)
49
- window.pluginsManager.runPlugins(window.pluginsManager.pluginsModules["start"]["pre"], event="pre start")
50
-
51
-
52
  let themeColour
53
  let secondaryThemeColour
54
  const oldCError = console.error
@@ -1425,10 +1391,10 @@ window.setupModal(infoIcon, infoContainer)
1425
 
1426
  // Patreon
1427
  // =======
1428
- window.setupModal(patreonIcon, patreonContainer, () => {
1429
- const data = fs.readFileSync(`${path}/patreon.txt`, "utf8") + ", minermanb"
1430
- creditsList.innerHTML = data
1431
- })
1432
 
1433
 
1434
  // Updates
 
1
  "use strict"
2
  window.appVersion = "v3.0.3"
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  const {Editor} = require("./javascript/editor.js")
5
  require("./javascript/textarea.js")
 
6
  const xVASpeech = require("./javascript/speech2speech.js")
 
 
 
 
 
 
 
7
 
8
  // Newly introduced in v3. I will slowly start moving global context variables into this, and update code throughout to reference this
9
  // instead of old variables such as window.games, window.currentModel, etc.
 
15
  window.pythonProcess = spawn(`${path}/cpython_${window.userSettings.installation}/server.exe`, {stdio: "ignore"})
16
  }
17
 
 
 
 
 
 
 
18
  let themeColour
19
  let secondaryThemeColour
20
  const oldCError = console.error
 
1391
 
1392
  // Patreon
1393
  // =======
1394
+ // window.setupModal(patreonIcon, patreonContainer, () => {
1395
+ // const data = fs.readFileSync(`${path}/patreon.txt`, "utf8") + ", minermanb"
1396
+ // creditsList.innerHTML = data
1397
+ // })
1398
 
1399
 
1400
  // Updates
{javascript β†’ resources/app/javascript}/outputFiles.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/plugins_manager.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/settingsMenu.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/speech2speech.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/style_embeddings.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/textarea.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/totd.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/util.js RENAMED
File without changes
{javascript β†’ resources/app/javascript}/workbench.js RENAMED
File without changes
{lib β†’ resources/app/lib}/AbortControllerPolyfill.js RENAMED
File without changes
{lib β†’ resources/app/lib}/OrbitControls.js RENAMED
File without changes
{lib β†’ resources/app/lib}/Three.min.js RENAMED
File without changes
{lib β†’ resources/app/lib}/Three.sprite.js RENAMED
File without changes
{lib β†’ resources/app/lib}/Three.texture.js RENAMED
File without changes
{lib β†’ resources/app/lib}/TrackballControls.js RENAMED
File without changes
{lib β†’ resources/app/lib}/ffmpeg_normalize/__init__.py RENAMED
File without changes
{lib β†’ resources/app/lib}/ffmpeg_normalize/__main__.py RENAMED
File without changes
{lib β†’ resources/app/lib}/ffmpeg_normalize/_cmd_utils.py RENAMED
File without changes
{lib β†’ resources/app/lib}/ffmpeg_normalize/_errors.py RENAMED
File without changes
{lib β†’ resources/app/lib}/ffmpeg_normalize/_ffmpeg_normalize.py RENAMED
File without changes
{lib β†’ resources/app/lib}/ffmpeg_normalize/_logger.py RENAMED
File without changes
{lib β†’ resources/app/lib}/ffmpeg_normalize/_media_file.py RENAMED
File without changes
{lib β†’ resources/app/lib}/ffmpeg_normalize/_streams.py RENAMED
File without changes
{lib β†’ resources/app/lib}/ffmpeg_normalize/_version.py RENAMED
File without changes
{lib β†’ resources/app/lib}/osutils.js RENAMED
File without changes
{lib β†’ resources/app/lib}/wavesurfer.js RENAMED
File without changes
{lib β†’ resources/app/lib}/xp_error.mp3 RENAMED
File without changes
{plugins β†’ resources/app/plugins}/eg_custom_event/frontendPlugin.js RENAMED
File without changes
{plugins β†’ resources/app/plugins}/eg_custom_event/main.py RENAMED
File without changes
{plugins β†’ resources/app/plugins}/eg_custom_event/plugin.json RENAMED
File without changes
{plugins β†’ resources/app/plugins}/test_plugin/custom_event.py RENAMED
File without changes
{plugins β†’ resources/app/plugins}/test_plugin/frontendPlugin.js RENAMED
File without changes
{plugins β†’ resources/app/plugins}/test_plugin/main.py RENAMED
File without changes
{plugins β†’ resources/app/plugins}/test_plugin/plugin.json RENAMED
File without changes
{plugins β†’ resources/app/plugins}/test_plugin/start.py RENAMED
File without changes
{plugins β†’ resources/app/plugins}/test_plugin/style1.css RENAMED
File without changes
{plugins β†’ resources/app/plugins}/test_plugin/test.py RENAMED
File without changes
{python β†’ resources/app/python}/audio_post.py RENAMED
File without changes
{python β†’ resources/app/python}/audio_processing.py RENAMED
File without changes