Lanceur d’application pour GNU/Linux
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

32 行
740B

  1. <html>
  2. <head>
  3. <title>Lanceur - Pitaya</title>
  4. <link rel="stylesheet" href="css/style.css" />
  5. <link rel="stylesheet" href="fonts/fontello/css/arrows.css" />
  6. </head>
  7. <body>
  8. <!-- Application root element -->
  9. <div id="pitaya"></div>
  10. <!-- Scripts -->
  11. <script type="text/javascript">
  12. // React context detection workaround
  13. global.document = global.window.document;
  14. global.navigator = global.window.navigator;
  15. var isDev = process.env.NODE_ENV === 'development';
  16. if(isDev) {
  17. // Auto transform JSX
  18. require('node-jsx').install({extension: '.js'});
  19. }
  20. // Launch app
  21. require('./'+(isDev ? 'src' : 'dist')+'/app.js');
  22. </script>
  23. </body>
  24. </html>