1 ! Copyright (C) 2007, 2008 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: io io.files kernel namespaces sequences system
4 tools.deploy.backend tools.deploy.config assocs hashtables
5 prettyprint combinators windows.shell32 windows.user32 ;
6 IN: tools.deploy.windows
8 : copy-dll ( bundle-name -- )
9 "resource:factor.dll" swap copy-file-into ;
11 : copy-freetype ( bundle-name -- )
13 "resource:freetype6.dll"
15 } swap copy-files-into ;
17 : create-exe-dir ( vocab bundle-name -- vm )
33 2tri namespace make-deploy-image
35 [ nip open-in-explorer ] 2bi