Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

--injecting multiple js files mangles them in nativefied app #458

Description

@jplot

Description

When injecting multiple files, the final rendering of the inject.js file is corrupted

Steps to reproduce issue

test1.js

alert('Test1')

test2.js

console.log('Test2')

Run

nativefier --inject test1.js --inject test2.js --name Github https://github.com

Github.app/Contents/Resources/app/inject/inject.js

alert('Test1')
st2')

Specifications

Version of Nativefier (run nativefier --version): v7.4.1
Version of Node.js (run node --version): v8.5.0
OS: macOS High Sierra 10.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions