File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- r←{current}GetProgramFilesFolder postFix;version;aplVersion;OS
1+ r←{current}GetProgramFilesFolder postFix;version;aplVersion;OS
22⍝ Returns standard path for Dyalog's version-specific program files folder.\\
33⍝ Works on all platforms but returns different results.\\
44⍝ Under Windows typically:\\
55⍝ `C:\Users\<⎕AN>\Documents\Dyalog APL[-64] 19.0 Unicode Files' ←→ GetMyUCMDsFolder
66⍝ ⍺ is optional and defaults to 0, meaning the version-agnostic folder is returned.
77⍝ If ⍺←1, the folder associated with the currently running version of Dyalog is returned.
88 current←{0<⎕NC ⍵:⍎⍵ ⋄ 0}'current'
9- OS←3↑# ⎕WG'APLVersion'
9+ OS←3↑1⊃ # ⎕WG'APLVersion'
1010 postFix←{(((~'/\'∊⍨⊃⍵)∧0≠≢⍵)/'/'),⍵}postFix
1111 aplVersion←# ⎕WG'APLVersion'
1212 :If current
Original file line number Diff line number Diff line change 11 r←Version
22⍝ See als History
3- r←'0.36.0+587 '
3+ r←'0.36.0+589 '
Original file line number Diff line number Diff line change 243243 :If 1 P . ## . C . YesOrNo q
244244 tempFolder ← P . ## . F . GetTempSubDir ' Cider'
245245 res ← ⎕SE . Tatin . InstallPackages (' [tatin]aplteam-Cider' )tempFolder
246- targetFolder ← ⊃ ⎕NPARTS ## . SourceFile
246+ targetFolder ← ( 1 P . GetProgramFilesFolder ' ' ) , ' /CiderTatin/Cider '
247247 {}P . ## . F . RmDirByForce targetFolder
248248 3 ⎕MKDIR targetFolder
249249 targetFolder ⎕NMOVE ⍠ 1 ⊣ tempFolder , ' /*'
Original file line number Diff line number Diff line change 1919 source: "APLSource/Cider/",
2020 tags: "project-management",
2121 userCommandScript: "APLSource/Cider_UC.dyalog",
22- version: "0.36.0+587 ",
22+ version: "0.36.0+589 ",
2323}
You can’t perform that action at this time.
0 commit comments