Add version to title, update deps to memory fix

This commit is contained in:
Craig Everett 2025-05-28 21:22:03 +09:00
parent 53468659f4
commit e86a130180
7 changed files with 13 additions and 12 deletions

View File

@ -3,6 +3,6 @@
{registered,[]},
{included_applications,[]},
{applications,[stdlib,kernel]},
{vsn,"0.2.0"},
{vsn,"0.2.1"},
{modules,[gajumine,gmc_con,gmc_conf,gmc_gui,gmc_sup]},
{mod,{gajumine,[]}}]}.

View File

@ -3,7 +3,7 @@
%%% @end
-module(gajumine).
-vsn("0.2.0").
-vsn("0.2.1").
-behavior(application).
-author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>").

View File

@ -3,7 +3,7 @@
%%% @end
-module(gmc_con).
-vsn("0.2.0").
-vsn("0.2.1").
-author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>").
-license("GPL-3.0-or-later").

View File

@ -3,7 +3,7 @@
%%% @end
-module(gmc_conf).
-vsn("0.2.0").
-vsn("0.2.1").
-author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>").
-license("GPL-3.0-or-later").

View File

@ -3,7 +3,7 @@
%%% @end
-module(gmc_gui).
-vsn("0.2.0").
-vsn("0.2.1").
-author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>").
-license("GPL-3.0-or-later").
@ -87,13 +87,14 @@ start_link(Title) ->
init(Prefs) ->
ok = log(info, "GUI starting..."),
Lang = maps:get(lang, Prefs, en_US),
Trans = gd_jt:read_translations(?MODULE),
J = gd_jt:j(Lang, Trans),
AppName = J("GajuMine"),
VSN = proplists:get_value(vsn, ?MODULE:module_info(attributes)),
WX = wx:new(),
Frame = wxFrame:new(WX, ?wxID_ANY, J("GajuMine")),
Frame = wxFrame:new(WX, ?wxID_ANY, AppName ++ " v" ++ VSN),
MainSz = wxBoxSizer:new(?wxVERTICAL),
LeftRight = wxBoxSizer:new(?wxHORIZONTAL),
Left = wxBoxSizer:new(?wxVERTICAL),

View File

@ -12,7 +12,7 @@
%%% @end
-module(gmc_sup).
-vsn("0.2.0").
-vsn("0.2.1").
-behaviour(supervisor).
-author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>").

View File

@ -4,10 +4,10 @@
{prefix,"gmc"}.
{author,"Craig Everett"}.
{desc,"Mining client for the Gajumaru Root"}.
{package_id,{"qpq","gajumine",{0,2,0}}}.
{deps,[{"qpq","cuckoo_cpu",{0,3,0}},
{"uwiger","gmhive_client",{0,4,0}},
{"uwiger","gmcuckoo",{1,1,1}},
{package_id,{"qpq","gajumine",{0,2,1}}}.
{deps,[{"uwiger","gmcuckoo",{1,2,3}},
{"uwiger","gmhive_client",{0,4,3}},
{"qpq","cuckoo_cpu",{0,3,0}},
{"uwiger","gmhive_worker",{0,3,0}},
{"uwiger","gmconfig",{0,1,2}},
{"uwiger","gproc",{1,0,1}},