Commit 578b23c9 authored by dmknght's avatar dmknght

Add version as var

parent 98e60106
......@@ -14,6 +14,8 @@ type
isSocksPort*: bool
isTransPort*: bool
const surfVersion*: string = "3.0.5"
proc getSurfStatus*(): Status =
#[
......
import gintro / [gtk, gdkpixbuf]
import system
import .. / cores / status
proc onClickAbout*(b: Button) =
......@@ -16,7 +17,7 @@ proc onClickAbout*(b: Button) =
let imgLogo: Pixbuf = bufLoader.getPixbuf()
showAbout.setLogo(imgLogo)
showAbout.setProgramName("AnonSurf")
showAbout.setVersion("3.0.4")
showAbout.setVersion(surfVersion)
showAbout.setArtists([
"Federica \"marafed\" Marasà",
# "Manuel \"Serverket\" Hernandez",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment