From b879d3f9eab743d90eaea9ffc9c09d22422f0254 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Wed, 19 Aug 2015 11:30:48 -0400 Subject: [PATCH] Remove unused resin-write bin script This script was used along with windosu as a workaround to call `device init` with elevated permissions. Since Windows elevation is not used anymore for now, this script can be removed. --- bin/resin-write | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 bin/resin-write diff --git a/bin/resin-write b/bin/resin-write deleted file mode 100644 index e0fa8d30..00000000 --- a/bin/resin-write +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env node - -var os = require('../build/actions/os'); -var errors = require('../build/errors'); - -// TODO: Do some error handling when image or device are incorrect - -os.install.action({ - image: process.argv[2], - device: process.argv[3] -}, { - yes: true, - fromScript: true -}, function(error) { - return errors.handle(error); -});