From c4a446cb6a5310050f7f61657a5d6f5a38877ec7 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 14 Dec 2015 14:48:00 -0400 Subject: [PATCH] Fix Windows not asking for elevation when packaged The issue is that the `windosu-elevate.cmd` script that `windosu` internally calls to perform the elevation. After some investigation this is due one of our ignore regular expressions used to filter out unnecessary files from the production package: ``` (.*).md ``` The period matches anything but a space, causing file ending in `cmd` to be matched, and therefore excluded from the package. Since the intention of this regex was to match a literal period, escaping does the trick. Partly-Fixes: https://github.com/resin-io/herostratus/issues/20 --- package.ignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.ignore b/package.ignore index 88f1569a..ceea9cf2 100644 --- a/package.ignore +++ b/package.ignore @@ -1,7 +1,7 @@ LICENSE Makefile package.ignore -(.*).md +(.*)\.md appveyor.yml bower.json gulpfile.js