encounter / objdiff

A local diffing tool for decompilation projects
Apache License 2.0
122 stars 21 forks source link

Set preset when creating a scratch for decomp.me #133

Closed 1superchip closed 3 weeks ago

1superchip commented 3 weeks ago

The preset isn't set currently when creating a scratch. This causes scratches to be unlinked from the project they are a part of.

Projects will have to get the preset id from decomp.me to set in the config. If the id isn't set, a scratch can be uploaded without the preset field.

https://github.com/decompme/decomp.me/blob/36edf529ca2b165fa162cee6cede6ef5dd2150a0/backend/coreapp/views/scratch.py#L282

encounter commented 3 weeks ago

Added to dtk-template: https://github.com/encounter/dtk-template/commit/065fc7b71541d93e18d410b0f7423b6f8a4fa18f

Will be released in objdiff v2.4.0