Compare commits
2 Commits
16d818d03d
...
17c5e15b63
| Author | SHA1 | Date | |
|---|---|---|---|
| 17c5e15b63 | |||
| 794ed8061c |
+1
-1
@@ -250,7 +250,7 @@ Track progress here. Mark tasks complete as they land and pass review.
|
||||
- [x] T1.4 — Create `src/scheduler`; move scheduler
|
||||
- [x] T1.5 — Create `src/storage`; move store/paths
|
||||
- [x] T1.6 — Create `src/platform/autostart`; move autostart logic
|
||||
- [ ] T1.7 — Create `src/platform/desktop`; move desktop integration
|
||||
- [x] T1.7 — Create `src/platform/desktop`; move desktop integration
|
||||
- [ ] T1.8 — Delete empty `src/core`; build + test both platforms
|
||||
|
||||
### Phase 2 — Domain cleanup
|
||||
|
||||
+2
-1
@@ -16,6 +16,7 @@ import (
|
||||
"gitea.mixdep.ru/mix/gosentry/src/core"
|
||||
"gitea.mixdep.ru/mix/gosentry/src/domain"
|
||||
"gitea.mixdep.ru/mix/gosentry/src/platform/autostart"
|
||||
"gitea.mixdep.ru/mix/gosentry/src/platform/desktop"
|
||||
"gitea.mixdep.ru/mix/gosentry/src/runner"
|
||||
"gitea.mixdep.ru/mix/gosentry/src/scheduler"
|
||||
"gitea.mixdep.ru/mix/gosentry/src/storage"
|
||||
@@ -168,7 +169,7 @@ func newMainView(w fyne.Window) (fyne.CanvasObject, func(time.Duration, bool)) {
|
||||
if err != nil {
|
||||
return container.NewPadded(widget.NewLabel("Failed to load GoSentry configuration: " + err.Error())), func(time.Duration, bool) {}
|
||||
}
|
||||
if iconPath, err := core.InstallDesktopIntegration(appID, store.Paths.ExecutablePath, assets.IconBytes()); err == nil {
|
||||
if iconPath, err := desktop.InstallDesktopIntegration(appID, store.Paths.ExecutablePath, assets.IconBytes()); err == nil {
|
||||
store.Paths.DesktopIcon = iconPath
|
||||
}
|
||||
events := collectActivity(jobs)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//go:build linux
|
||||
|
||||
package core
|
||||
package desktop
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -1,6 +1,6 @@
|
||||
//go:build !linux
|
||||
|
||||
package core
|
||||
package desktop
|
||||
|
||||
func InstallDesktopIntegration(appID string, executablePath string, icon []byte) (string, error) {
|
||||
return "", nil
|
||||
Reference in New Issue
Block a user