Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Improve find and rename snapshots functionality #583

Open
@invidian

Description

@invidian

Issue Checklist

  • You are submitting: feature request/bug report
  • You verified that this is a real problem by searching the [NativeScript Forum] and the other [issues] in this repo.
  • You checked our [demo apps] and the [documentation] for sample usage.

Tell us about the problem

I had a problem, with generating snapshots, because it seems that find in https://github.com/NativeScript/nativescript-dev-webpack/blob/master/snapshot/android/project-snapshot-generator.js#L118 is pretty sensitive together with PATH environmental variable. I was getting couple of errors, which later on resulted in application crashes, as it wasn't able to find snapshot file, because they had the wrong name.

I was getting following error:

find: The relative path ‘~/.local/bin’ is included in the PATH environment variable, which is insecure in combination with the -execdir action of find.  Please remove that entry from $PATH

Where for Linux user it's pretty common to have ~/.local/bin in PATH.

It would be cool to make it more environmental-agnostic.

Local environment

  • Platform: Linux

Project data

  • Platform you are building the app for: Android

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions