Skip to content

Struggling to launch manually built GC #430

Open
@awsdert

Description

@awsdert

For starters I tried the way it seemed like it was supposed to be launched which got me:

$ ./gameconqueror
bash: ./gameconqueror: Permission denied
$ sudo ./gameconqueror
...
sudo: ./gameconqueror: command not found

So then I tried adding the variables to the makefile and adding a launch target which got me further but I still ran into an issue:

$ make launch
/usr/bin/pkexec /mnt/CODE/github/scanmem/gui/GameConqueror.py
Error executing /mnt/CODE/github/scanmem/gui/GameConqueror.py: Permission denied
make: *** [Makefile:982: launch] Error 127

What do I need to do to get it to launch so I can test the changes I make?

Edit: Btw lines 975+ in the makefile now look like this:

PKEXEC:=$(shell command -v "pkexec")
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

DATADIR?=$(abspath .)
launch:
	$(PKEXEC) $(DATADIR)/GameConqueror.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions