Skip to content

Commit

Permalink
sudo?
Browse files Browse the repository at this point in the history
  • Loading branch information
aidansteele committed Apr 8, 2022
1 parent 9cbe837 commit e7d479f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { execSync } from 'child_process';

const url = "https://github.com/aidansteele/gha-stats/releases/download/v0.1.0/gha-stats_0.1.0_linux_amd64.tar.gz";
execSync(`curl -o /tmp/gha-stats.tgz -L ${url}`);
execSync(`tar -C /usr/bin -xvf /tmp/gha-stats.tgz`);
execSync(`sudo tar -C /usr/bin -xvf /tmp/gha-stats.tgz`);
execSync(`gha-stats start`);

0 comments on commit e7d479f

Please sign in to comment.