Skip to content

Commit 5186945

Browse files
committed
Fix in ]UpdateCider (target dir)
1 parent 6d7b0d3 commit 5186945

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

APLSource/Admin/GetProgramFilesFolder.aplf renamed to APLSource/Cider/GetProgramFilesFolder.aplf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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

APLSource/Cider/Version.aplf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
r←Version
22
⍝ See als History
3-
r←'0.36.0+587'
3+
r←'0.36.0+589'

APLSource/Cider_uc.dyalog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
:If 1 P.##.C.YesOrNo q
244244
tempFolderP.##.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 ⎕NMOVE1tempFolder,'/*'

apl-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
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
}

0 commit comments

Comments
 (0)