diff --git a/ebin/gajumine.app b/ebin/gajumine.app index a6d20f3..198fc38 100644 --- a/ebin/gajumine.app +++ b/ebin/gajumine.app @@ -3,6 +3,6 @@ {registered,[]}, {included_applications,[]}, {applications,[stdlib,kernel]}, - {vsn,"0.2.2"}, + {vsn,"0.2.3"}, {modules,[gajumine,gmc_con,gmc_conf,gmc_gui,gmc_sup]}, {mod,{gajumine,[]}}]}. diff --git a/src/gajumine.erl b/src/gajumine.erl index 6949d00..f138a1d 100644 --- a/src/gajumine.erl +++ b/src/gajumine.erl @@ -3,7 +3,7 @@ %%% @end -module(gajumine). --vsn("0.2.2"). +-vsn("0.2.3"). -behavior(application). -author("Craig Everett "). -copyright("QPQ AG "). diff --git a/src/gmc_con.erl b/src/gmc_con.erl index efa9593..ea7b4a1 100644 --- a/src/gmc_con.erl +++ b/src/gmc_con.erl @@ -3,7 +3,7 @@ %%% @end -module(gmc_con). --vsn("0.2.2"). +-vsn("0.2.3"). -author("Craig Everett "). -copyright("QPQ AG "). -license("GPL-3.0-or-later"). @@ -291,7 +291,7 @@ proc_mem() -> {P, M}; {win32, nt} -> P = list_to_integer(os:getenv("NUMBER_OF_PROCESSORS")), - M = list_to_integer(string:strip(lists:nth(2, string:split(os:cmd("wmic computersystem get TotalPhysicalMemory"), "\r\r\n", all)))), + M = list_to_integer(string:trim(os:cmd("powershell -Command \"(Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory\""))), {P, M} end. diff --git a/src/gmc_conf.erl b/src/gmc_conf.erl index 39936d5..d2ba6e0 100644 --- a/src/gmc_conf.erl +++ b/src/gmc_conf.erl @@ -3,7 +3,7 @@ %%% @end -module(gmc_conf). --vsn("0.2.2"). +-vsn("0.2.3"). -author("Craig Everett "). -copyright("QPQ AG "). -license("GPL-3.0-or-later"). diff --git a/src/gmc_gui.erl b/src/gmc_gui.erl index f650b76..e5081f6 100644 --- a/src/gmc_gui.erl +++ b/src/gmc_gui.erl @@ -3,7 +3,7 @@ %%% @end -module(gmc_gui). --vsn("0.2.2"). +-vsn("0.2.3"). -author("Craig Everett "). -copyright("QPQ AG "). -license("GPL-3.0-or-later"). diff --git a/src/gmc_sup.erl b/src/gmc_sup.erl index 032716c..e3ac2bf 100644 --- a/src/gmc_sup.erl +++ b/src/gmc_sup.erl @@ -12,7 +12,7 @@ %%% @end -module(gmc_sup). --vsn("0.2.2"). +-vsn("0.2.3"). -behaviour(supervisor). -author("Craig Everett "). -copyright("QPQ AG "). diff --git a/zomp.meta b/zomp.meta index ee11640..2b8599b 100644 --- a/zomp.meta +++ b/zomp.meta @@ -4,7 +4,7 @@ {prefix,"gmc"}. {author,"Craig Everett"}. {desc,"Mining client for the Gajumaru Root"}. -{package_id,{"qpq","gajumine",{0,2,2}}}. +{package_id,{"qpq","gajumine",{0,2,3}}}. {deps,[{"uwiger","gmcuckoo",{1,2,3}}, {"uwiger","gmhive_client",{0,4,3}}, {"qpq","cuckoo_cpu",{0,3,0}},