Compare commits

..

No commits in common. "56be96c4f36b0de4e00d7022415cba0a92d53b8f" and "ecf597eed2b0f8b71af7591a1c7898bc19ca0aae" have entirely different histories.

7 changed files with 10 additions and 12 deletions

View File

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

View File

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

View File

@ -3,7 +3,7 @@
%%% @end %%% @end
-module(gmc_con). -module(gmc_con).
-vsn("0.2.10"). -vsn("0.2.8").
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <craigeverett@qpq.swiss>"). -copyright("QPQ AG <craigeverett@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").
@ -283,13 +283,11 @@ platform_dir() ->
{unix, linux} -> {unix, linux} ->
"linux_x86_64"; "linux_x86_64";
{unix, darwin} -> {unix, darwin} ->
case string:trim(os:cmd("uname -m")) of case erlang:system_info(system_architecture) of
"arm64" -> "aarch64-" ++ _ ->
"mac_arm64"; "mac_arm64";
"x86_64" ->
"mac_x86_64";
Other -> Other ->
ok = log(info, "uname -m: ~p", [Other]), ok = log(info, "system_architecture: ~p", [Other]),
"mac_x86_64" "mac_x86_64"
end; end;
{win32, nt} -> {win32, nt} ->

View File

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

View File

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

View File

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

View File

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