updates for installable version
This commit is contained in:
parent
c37891ede9
commit
96c84fe983
|
@ -1,5 +1,13 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.9.8 - 7-5-23
|
||||||
|
### Added
|
||||||
|
- Added icons and css paths that work with installed version in ez_bkup.nim. (ITwrx)
|
||||||
|
### Changed
|
||||||
|
- Made some file names more uniform. (ITwrx)
|
||||||
|
- Re-added selectedPreload proc accidentally removed from Routine.nim in last release. (ITwrx)
|
||||||
|
- Updated EZ-Bkup version in app_menu_button.nim and ez_bkup.desktop (included with installer in the funded release). (ITwrx)
|
||||||
|
|
||||||
## 0.9.7 - 7-1-23
|
## 0.9.7 - 7-1-23
|
||||||
### Added
|
### Added
|
||||||
- Added check that sources actually got copied to destination(s) prior to showing success msg. (ITwrx)
|
- Added check that sources actually got copied to destination(s) prior to showing success msg. (ITwrx)
|
||||||
|
|
|
@ -20,7 +20,7 @@ method view(app: AppState): Widget =
|
||||||
defaultSize = (1024, 768)
|
defaultSize = (1024, 768)
|
||||||
HeaderBar {.addTitlebar.}:
|
HeaderBar {.addTitlebar.}:
|
||||||
Icon {.addLeft.}:
|
Icon {.addLeft.}:
|
||||||
name = "EZ-Bkup-icon"
|
name = "ez_bkup"
|
||||||
pixelSize = 40
|
pixelSize = 40
|
||||||
margin = 4
|
margin = 4
|
||||||
# Button to open the main menu
|
# Button to open the main menu
|
||||||
|
@ -66,5 +66,8 @@ when isMainModule:
|
||||||
# Loads the model from the database and starts the application.
|
# Loads the model from the database and starts the application.
|
||||||
#databasePath is coming from shared.nim
|
#databasePath is coming from shared.nim
|
||||||
let model = newRoutineModel(databasePath)
|
let model = newRoutineModel(databasePath)
|
||||||
brew("org.itwrx.EZ-Bkup", gui(App(routineModel = model)), darkTheme = true, icons=["icons/"], stylesheets=[loadStylesheet("styles.css")])
|
#if running manually from src directory.
|
||||||
|
#brew("org.itwrx.EZ-Bkup", gui(App(routineModel = model)), darkTheme = true, icons=["icons/"], stylesheets=[loadStylesheet("styles.css")])
|
||||||
|
#if installed.
|
||||||
|
brew("org.itwrx.EZ-Bkup", gui(App(routineModel = model)), darkTheme = true, icons=["/usr/local/share/ez_bkup/icons/"], stylesheets=[loadStylesheet("/usr/local/share/ez_bkup/styles.css")])
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB |
|
@ -185,3 +185,12 @@ proc delete*(model: RoutineModel, id: RoutineId) =
|
||||||
|
|
||||||
# Update RoutineModel.routines
|
# Update RoutineModel.routines
|
||||||
model.routines.del(id)
|
model.routines.del(id)
|
||||||
|
|
||||||
|
#preload the selected seq with routines that have selByDef == true.
|
||||||
|
proc selectedPreload*(): seq[RoutineId] =
|
||||||
|
var selected: seq[RoutineId]
|
||||||
|
let model = newRoutineModel(databasePath)
|
||||||
|
for routine in model.routineSeq():
|
||||||
|
if routine.selByDef == true:
|
||||||
|
selected.add(routine.id)
|
||||||
|
return selected
|
|
@ -29,9 +29,9 @@ method view(button: AppMenuButtonState): Widget =
|
||||||
discard button.app.open: gui:
|
discard button.app.open: gui:
|
||||||
AboutDialog:
|
AboutDialog:
|
||||||
programName = "EZ-Bkup"
|
programName = "EZ-Bkup"
|
||||||
logo = "EZ-Bkup-icon"
|
logo = "ez_bkup"
|
||||||
style = [StyleClass("about-dialog")]
|
style = [StyleClass("about-dialog")]
|
||||||
version = "0.9.7"
|
version = "0.9.8"
|
||||||
credits = @{
|
credits = @{
|
||||||
"Created By": @["https://ITwrx.org"],
|
"Created By": @["https://ITwrx.org"],
|
||||||
"License": @["GPLv3"]
|
"License": @["GPLv3"]
|
||||||
|
|
Loading…
Reference in New Issue