ci: update script (add log)

This commit is contained in:
anatawa12 2025-06-21 13:39:55 +09:00
commit a98a0d597b
No known key found for this signature in database
GPG key ID: 9CA909848B8E4EA6

View file

@ -3,6 +3,7 @@
on run (folderName)
tell application "Finder"
tell folder folderName
log "opening folder " & folderName
open
set theXOrigin to 10
@ -15,7 +16,7 @@ on run (folderName)
-- set dsStore to "\"" & "/Volumes/" & volumeName & "/" & ".DS_STORE\""
set dsStore to "\"" & folderName & "/" & ".DS_STORE\""
log "setting bounds to " & theXOrigin & ", " & theYOrigin & ", " & theBottomRightX & ", " & theBottomRightY
tell container window
set current view to icon view
set toolbar visible to false
@ -25,7 +26,7 @@ on run (folderName)
-- REPOSITION_HIDDEN_FILES_CLAUSE
end tell
log "setting window mode to icon view"
set opts to the icon view options of container window
tell opts
-- set icon size to ICON_SIZE
@ -43,11 +44,13 @@ on run (folderName)
-- Application and QL Link Clauses
-- APPLICATION_CLAUSE
-- QL_CLAUSE
log "reopening folder " & folderName
close
open
-- Force saving of the size
delay 1
log "setting status bar invisible"
tell container window
set statusbar visible to false
set the bounds to {theXOrigin, theYOrigin, theBottomRightX - 10, theBottomRightY - 10}