blacktop / lporg

Organize Your macOS Launchpad Apps
MIT License
270 stars 22 forks source link

Doesn't work on Monterey? #23

Closed RyannDaGreat closed 1 year ago

RyannDaGreat commented 1 year ago

Hi there! I tried "lporg revert", but it didn't reproduce the correct folder structure. Instead, it flattened everything out and I have to redo my launchpad manually lol.

Is it just on my computer, or does it not work on Monterey? If not, is this easy to fix or are there any alternative software to LPORG that I could use for Monterey+?

RyannDaGreat commented 1 year ago

Here's my terminal output:

➜ ~ lporg revert
   • PARSE LAUCHPAD DATABASE
      • found launchpad database  database=/var/folders/pm/461ntwb12b7bbqcjw1s6t0kw0000gn/0/com.apple.dock.launchpad/db/db
         • removed old file          path=/var/folders/pm/461ntwb12b7bbqcjw1s6t0kw0000gn/0/com.apple.dock.launchpad/db/db
         • removed old file          path=/var/folders/pm/461ntwb12b7bbqcjw1s6t0kw0000gn/0/com.apple.dock.launchpad/db/db-shm
         • removed old file          path=/var/folders/pm/461ntwb12b7bbqcjw1s6t0kw0000gn/0/com.apple.dock.launchpad/db/db-wal
      • restarting Dock
      • clear out groups
      • disabling SQL update triggers
      • add root and holding pages
      ⨯ query all widgets failed  error=no such table: widgets
      • parsing launchpad config YAML path=/Users/ryan/.launchpad.yaml

(/Users/blacktop/Developer/Github/blacktop/lporg/database/database.go:370)
[2023-02-28 23:23:28]  no such table: widgets
      • creating App folders and adding apps to them
         • folder added              group=Messaging
         • folder added              group=Browsers
         • folder added              group=Office
         • folder added              group=Apple
         • folder added              group=Other Apple
         • folder added              group=Terminals
         • folder added              group=Best Utilities
         • folder added              group=Utilities
         • folder added              group=Code Editors
         • folder added              group=Tools
         • folder added              group=Desktops
         • folder added              group=Web Apps
         • folder added              group=Art
         • app not installed. SKIPPING... app=SunVox
         • folder added              group=Games
         • folder added              group=More Art
         • folder added              group=Viewers
         • folder added              group=Trials
         • folder added              group=Extensions
         • folder added              group=Latex
         • folder added              group=Tidbit Tools
         • folder added              group=Tidbit Utilities
         • folder added              group=Undeletable
         • folder added              group=Microsoft Bloat
      • enabling SQL update triggers
      • restarting Dock

You can see that it thinks it's adding folders. Hoever, none of them are actually there (other than the "Games" folder) when it's done.

blacktop commented 1 year ago

lporg revert should only work if you have ran lporg load and created a backup

blacktop commented 1 year ago

try latest and re-open if still bad - https://github.com/blacktop/lporg/releases/tag/v20.4.25