Fix binscripts on windows.
@@ -691,10 +691,9 @@ int main(int argc, const char **argv) {
(def name (last (string/split sep main)))
(def bat (string "@echo off\r\njanet %~dp0\\" name "%*"))
(def newname (string binpath sep name ".bat"))
+ (array/push (dyn :installed-files) newname)
(add-body "install"
- (spit newname bat))
- (add-body "uninstall"
- (os/rm newname))))
+ (spit newname bat))))
(defn declare-archive
"Build a janet archive. This is a file that bundles together many janet
