Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Running on linux #3

Open
svaldivia12 opened this issue Oct 4, 2023 · 1 comment
Open

[Question] Running on linux #3

svaldivia12 opened this issue Oct 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@svaldivia12
Copy link

Hello, first of all, great project !
Quick question, Is it possible to run this on Linux?
I've tried it only on Windows and now I want to run it on Linux but gives me this error when selecting the RCC file

❯ npm run start

> rcc-editor@2.0.1 start
> electron-forge start

✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
✔ Compiling Main Process Code
✔ Launch Dev Servers
✔ Compiling Preload Scripts
✔ Launching Application


Webpack Output Available: http://localhost:9000

Gtk-Message: 15:43:36.815: Failed to load module "appmenu-gtk-module"
libva error: vaGetDriverNames() failed with unknown libva error
⠴ Compiling Renderer CodeType-checking in progress...
⠧ Compiling Renderer Codeasset main_window/index.js 3.5 MiB [emitted] (name: main_window)
asset main_window/index.html 238 bytes [emitted]
runtime modules 26.6 KiB 14 modules
modules by path ./node_modules/ 1.25 MiB 37 modules
modules by path ./src/renderer/ 28 KiB
  modules by path ./src/renderer/components/ 15.1 KiB 9 modules
  modules by path ./src/renderer/screens/MainScreen/ 6.61 KiB
    ./src/renderer/screens/MainScreen/index.tsx 2.43 KiB [built] [code generated]
    + 2 modules
  modules by path ./src/renderer/*.css 3.93 KiB
    ./src/renderer/app.css 2.58 KiB [built] [code generated]
    ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/@teamsupercell/typings-for-css-modules-loader/src/index.js!./src/renderer/app.css 1.36 KiB [built] [code generated]
  ./src/renderer/app.tsx 860 bytes [built] [code generated]
  ./src/renderer/hooks/useSelectedElement.tsx 1.55 KiB [built] [code generated]
webpack 5.74.0 compiled successfully in 1107 ms
✔ Compiling Renderer Code
Type-checking in progress...
No errors found.
No errors found.
[57199:1004/154407.832245:ERROR:browser_main_loop.cc(270)] Gtk: gtk_file_chooser_widget_set_current_name: assertion 'priv->action == GTK_FILE_CHOOSER_ACTION_SAVE || priv->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed
(node:57199) UnhandledPromiseRejectionWarning: Error: spawn /home/svaldivia/git/Nekiro-Rcc-Editor/.webpack/main/rcc/rcc.exe EACCES
    at ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
(Use `electron --trace-warnings ...` to show where the warning was created)
(node:57199) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[57199:1004/154523.014555:ERROR:browser_main_loop.cc(270)] Gtk: gtk_file_chooser_widget_set_current_name: assertion 'priv->action == GTK_FILE_CHOOSER_ACTION_SAVE || priv->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed

After reading the error, from this line, it seems to me that is trying to open an EXE file

(node:57199) UnhandledPromiseRejectionWarning: Error: spawn /home/svaldivia/git/Nekiro-Rcc-Editor/.webpack/main/rcc/rcc.exe EACCES

Is there a workaround?

Thanks in advance!

@nekiro
Copy link
Owner

nekiro commented Oct 8, 2023

It's only windows, because the binary that this program uses is compiled for windows, this could be made working by compiling https://github.com/zedxxx/rccextended to linux executable and properly making it into code. I don't plan on working on this, so if you get it to work, pull request is welcome

@nekiro nekiro added the enhancement New feature or request label Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants