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

Linux support v2 (resolve filepath v2) #16

Closed

Conversation

LovelySanta
Copy link
Owner

New attempt after #13, This resolves #13.

This add postbuildcommands for Sandbox:

  • In debug mode & release mode we copy assets to the bin location
  • In dist mode we remove the old assets first, to make sure removed assets are also removed from distribution. Then we copy the assets as before.

@LovelySanta LovelySanta changed the title Adding post build command for assets Linux support v2 (resolve filepath v2) Aug 24, 2019
@LovelySanta
Copy link
Owner Author

LovelySanta commented Aug 24, 2019

Compiles & runs for WhoseTheNerd on Linux (Arch).
Compiles & runs for me on Windows
Compiles for me on Linux (WSL, so can't test running)
if it runs for @DaveAxiom we can push this

@DaveAxiom
Copy link
Collaborator

The asset directory was copied to ../bin/Debug-linux-x86_64/Sandbox/Sandbox and it ran.

I'm going to see if I can create a cleaner solution later today with a relative path. I believe you found that obtaining the executable's location isn't straight forward.

@LovelySanta
Copy link
Owner Author

LovelySanta commented Aug 26, 2019

I'm going to see if I can create a cleaner solution later today with a relative path. I believe you found that obtaining the executable's location isn't straight forward.

Now it is using the relative path as cherno coded it in the video.. And yes, it is indeed not straight forward to find the executable's location.

EDIT: Since this is using a relative path; where this will work in distribute/release as well, can you approve of this @DaveAxiom? It is working on Debian (me) and Arch (WhoseTheNerd).

@DaveAxiom DaveAxiom closed this Sep 20, 2019
@LovelySanta LovelySanta deleted the linux-support-v2_(resolve-filepath-2) branch October 18, 2019 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants