Advanced-Manufacturing-at-UoL / supremeslicer

This Project bridges usability from Prusa-slicer with additional functionality for generating g-code and toolpaths for the additional tools for the AMPI Machine
1 stars 1 forks source link

EXE Build - Changing data in the configs file #26

Closed PralishSatyal closed 2 months ago

PralishSatyal commented 2 months ago

Each time we are within the same session or different session, the data within the configs file will not update. If we change the configs file it won't show up as if it's updated whether we're in the same session or we've opened up a new session

PralishSatyal commented 2 months ago

The main.spec file shouldn't have any information filled out under datas, because the datas list consists of data we want to COPY over to the dist library. Instead, we should be accessing the parent folder files and not copying over other files/folders.

PralishSatyal commented 2 months ago

This issue has been patched in the latest commit, which shall be pulled to main. This will be part of the next GitHub release. The fix consisted of changing the main.spec file as well as obtaining the absolute position through changing the Utils.get_resource method (by using os.get_absolute_path() which gets the entire absolute path). This issue has been fixed for all cases and we can now run the code successfully without getting any issues with the same single session!