Skip to content

freecad@1.0.0: Persist data#15311

Open
Ra2-IFV wants to merge 1 commit intoScoopInstaller:masterfrom
Ra2-IFV:feat_freecad_persist
Open

freecad@1.0.0: Persist data#15311
Ra2-IFV wants to merge 1 commit intoScoopInstaller:masterfrom
Ra2-IFV:feat_freecad_persist

Conversation

@Ra2-IFV
Copy link
Copy Markdown
Contributor

@Ra2-IFV Ra2-IFV commented Apr 17, 2025

  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

@github-actions
Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

freecad

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

@Ra2-IFV Ra2-IFV force-pushed the feat_freecad_persist branch from 2e62a4e to 72bdd1f Compare April 20, 2025 03:31
Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
@Ra2-IFV Ra2-IFV force-pushed the feat_freecad_persist branch from 72bdd1f to 434b17b Compare May 25, 2025 13:58
@Ra2-IFV
Copy link
Copy Markdown
Contributor Author

Ra2-IFV commented Sep 19, 2025

PING!

"post_install": [
"if ($global) { $scope = 'Machine' } else { $scope = 'User' }",
"if (!$Env:FREECAD_USER_HOME) { [Environment]::SetEnvironmentVariable('FREECAD_USER_HOME', \"$persist_dir\\_userdata\", $scope) }"
],
"bin": "bin\\FreeCADCmd.exe",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the env_set field work for this case?

https://github.com/ScoopInstaller/Scoop/wiki/App-Manifests#optional-properties

env_set: Sets one or more environment variables for the user (or system if --global is used) (example).

Extras/bucket/jjui.json

Lines 17 to 19 in 7a0aa04

"env_set": {
"JJUI_CONFIG_DIR": "$dir\\config"
},

Copy link
Copy Markdown
Contributor Author

@Ra2-IFV Ra2-IFV Dec 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If scoop checks for existing ENV then yes, scoop doesn't do this as far as I know

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See also #15326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants